/* ===== CUSTOM CSS FOR ASTRONA.ME ===== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --gold-color: #FFD700;
    --gold-light: #FFED4E;
    --gold-dark: #DAA520;
    --text-white: #ffffff;
    --text-light: #b8bcc8;
    --border-gold: #FFD700;
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --gradient-hero: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-hero);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-color) !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--gold-light) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--gold-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Buttons */
.btn-gold {
    background: var(--gradient-gold);
    color: var(--primary-color) !important;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    color: var(--primary-color) !important;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid var(--text-white);
    color: var(--text-white) !important;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-dark {
    background: var(--primary-color);
    border: 2px solid var(--gold-color);
    color: var(--gold-color) !important;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--gold-color);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-stats {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Hero Image */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.floating-card {
    animation: float-card 4s ease-in-out infinite;
    position: relative;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

.avatar-gold {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.email-display {
    text-align: center;
    font-family: 'Courier New', monospace;
}

.email-display .text-gold {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Feature Cards */
.feature-card {
    background: rgba(45, 45, 45, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-gold);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    color: var(--primary-color) !important;
}

/* Comparison Table */
.comparison-table {
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.table-dark {
    background: transparent !important;
}

.table-dark th,
.table-dark td {
    border-color: rgba(255, 215, 0, 0.1) !important;
    padding: 1rem;
}

.table-dark th {
    background: rgba(26, 26, 26, 0.8) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.table-dark tr:hover {
    background: rgba(255, 215, 0, 0.05) !important;
}

/* Testimonial Cards */
.testimonial-card {
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
    box-shadow: var(--shadow-gold);
}

.stars i {
    font-size: 1.2rem;
}

.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* Signup Form */
.signup-hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
}

.signup-form-container {
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-dark);
    position: relative;
}

.signup-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 20px 20px 0 0;
}

.plan-highlights {
    margin-top: 1rem;
}

.form-control,
.form-select {
    background: rgba(26, 26, 26, 0.8) !important;
    border: 2px solid rgba(255, 215, 0, 0.2) !important;
    color: var(--text-white) !important;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(26, 26, 26, 0.9) !important;
    border-color: var(--gold-color) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
    color: var(--text-white) !important;
}

.form-control::placeholder {
    color: var(--text-light) !important;
    opacity: 0.7;
}

.input-group-text {
    background: rgba(26, 26, 26, 0.8) !important;
    border: 2px solid rgba(255, 215, 0, 0.2) !important;
    color: var(--gold-color) !important;
}

.border-gold {
    border-color: var(--gold-color) !important;
}

.features-summary {
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
}

.pricing-display {
    border: none;
    box-shadow: var(--shadow-gold);
}

.form-check-input:checked {
    background-color: var(--gold-color) !important;
    border-color: var(--gold-color) !important;
}

.form-check-input:focus {
    border-color: var(--gold-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25) !important;
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--gold-color) !important;
    transform: translateY(-3px);
}

/* Utility Classes */
.text-gold {
    color: var(--gold-color) !important;
}

.bg-gradient-gold {
    background: var(--gradient-gold) !important;
}

.bg-dark {
    background-color: var(--primary-color) !important;
}

.bg-dark.bg-opacity-50 {
    background-color: rgba(26, 26, 26, 0.5) !important;
}

.bg-dark.bg-opacity-80 {
    background-color: rgba(26, 26, 26, 0.8) !important;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .signup-form-container {
        padding: 2rem !important;
    }

    .table-responsive {
        font-size: 0.875rem;
    }

    .comparison-table {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-gold,
    .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .hero-stats {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Custom Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow Effects */
.glow-gold {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.glow-gold:hover {
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.7);
}

/* Badge Styling */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(25, 135, 84, 0.2);
    color: #28a745;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Special Effects */
.border-gold {
    border-color: var(--gold-color) !important;
}

.text-gold {
    color: var(--gold-color) !important;
}

/* Micro-interactions */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}