/* ===== CSS Variables ===== */
:root {
    --primary-color: #25D366;
    --secondary-color: #128C7E;
    --accent-color: #34B7F1;
    --accent-purple: #667eea;
    --accent-orange: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-blue: linear-gradient(135deg, #34B7F1 0%, #3b82f6 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
    --shadow-color: 0 8px 32px rgba(37, 211, 102, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 120px 0;
    position: relative;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo svg {
    filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--bg-lighter);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-color);
}

.btn-large {
    padding: 18px 48px;
    font-size: 17px;
    border-radius: 14px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(18, 140, 126, 0.1) 0%, transparent 70%);
    animation: float 25s infinite ease-in-out reverse;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 72px;
    margin-bottom: 28px;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 80px;
    justify-content: center;
    padding-top: 60px;
    border-top: 2px solid rgba(37, 211, 102, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 600;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.icon-bubble {
    position: absolute;
    font-size: 56px;
    animation: float 6s infinite ease-in-out;
    opacity: 0.7;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.icon-bubble:nth-child(2) {
    animation-delay: 1s;
    animation-duration: 7s;
}

.icon-bubble:nth-child(3) {
    animation-delay: 2s;
    animation-duration: 8s;
}

.icon-bubble:nth-child(4) {
    animation-delay: 3s;
    animation-duration: 6.5s;
}

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

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.7;
}

/* ===== Features Section ===== */
.features {
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.2), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 48px 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* ===== Directory Section ===== */
.directory-section {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    position: relative;
    overflow: hidden;
}

.directory-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.directory-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 80px;
}

.directory-stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.directory-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-purple);
}

.stat-icon {
    font-size: 56px;
    min-width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 40px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 800;
}

.stat-info p {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
}

.directory-categories {
    text-align: center;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.directory-categories h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.category-tag {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    border: 2px solid var(--bg-lighter);
    transition: var(--transition);
    cursor: pointer;
}

.category-tag:hover {
    border-color: var(--accent-purple);
    background: var(--white);
    color: var(--accent-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ===== Analytics Section ===== */
.analytics-section {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    position: relative;
}

.analytics-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.analytics-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.analytics-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.analytics-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
}

.analytics-card h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--text-dark);
}

.analytics-card ul {
    list-style: none;
}

.analytics-card ul li {
    padding: 16px 0;
    color: var(--text-light);
    font-size: 16px;
    border-bottom: 1px solid var(--bg-lighter);
    display: flex;
    align-items: center;
    gap: 12px;
}

.analytics-card ul li:last-child {
    border-bottom: none;
}

.analytics-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== Pricing Section ===== */
.pricing {
    background: var(--white);
    position: relative;
}

.pricing-grid-five {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1600px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--bg-lighter);
    border-radius: 20px;
    padding: 44px 36px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
}

.badge {
    position: absolute;
    top: -16px;
    right: 36px;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--bg-lighter);
}

.pricing-header h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
}

.amount {
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.period {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.plan-subtitle {
    font-size: 14px;
    color: var(--text-lighter);
    margin-top: 8px;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 14px 0;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 56px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px 20px;
    border: 2px solid var(--bg-lighter);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    margin-bottom: 24px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 14px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1400px) {
    .pricing-grid-five {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .pricing-grid-five {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .directory-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 44px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .pricing-grid-five {
        grid-template-columns: 1fr;
    }
    
    .directory-stats {
        grid-template-columns: 1fr;
    }
    
    .analytics-features {
        grid-template-columns: 1fr;
    }

    section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .btn-large {
        padding: 16px 36px;
        font-size: 15px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .amount {
        font-size: 52px;
    }
}

/* ===== Smooth Animations ===== */
[data-aos] {
    transition-duration: 1s;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}
