:root {
    --primary-color: #1B3A57;
    --primary-dark: #12293f;
    --accent-color: #FFC107;
    --accent-hover: #ffcf40;
    --text-light: #ffffff;
    --text-dim: #d0e0f0;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 193, 7, 0.05) 0%, transparent 60%);
    z-index: -1;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(27, 58, 87, 0.9);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 55px; /* Increased size */
    background-color: white;
    padding: 5px;
    border-radius: 12px;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 60px;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.cta-button {
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    font-size: 1.05rem;
}

.cta-button.primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-size: 1.05rem;
}

.cta-button.secondary:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.cta-button.large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

/* Improved Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--primary-dark);
    border-radius: 45px;
    border: 8px solid #2a4b6d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 15px;
    transform: perspective(1000px) rotateY(-12deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2a4b6d;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    margin: 12px 20px;
    font-size: 0.95rem;
    max-width: 85%;
    position: relative;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-bubble.left {
    background: rgba(255, 255, 255, 0.15);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    animation-delay: 1.2s;
}

.chat-bubble.right {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 500;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    animation-delay: 2.2s;
}

.offer-card {
    background: white;
    color: var(--primary-color);
    margin: 30px 20px;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    animation: slideUp 0.6s ease forwards;
    animation-delay: 3.2s;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.offer-card span {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
}

.offer-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

/* Sections */
section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 60px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 40px 30px;
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.stat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: rgba(255, 193, 7, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding-bottom: 150px;
}

.glass-panel {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 80px 30px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.glass-panel h2 {
    margin-bottom: 25px;
}

.glass-panel p {
    margin-bottom: 40px;
    font-size: 1.3rem;
    color: var(--text-dim);
}

/* Footer */
footer {
    padding: 50px 5% 30px;
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 36, 56, 0.8);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 35px;
    background-color: white;
    padding: 3px;
    border-radius: 8px;
    opacity: 0.9;
}

.footer-logo p {
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0.8;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Scroll Reveal Class */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding-top: 140px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 70px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2.8rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

/* Large Screens */
@media (min-width: 1600px) {
    html {
        font-size: 18px;
    }
    
    .hero-section {
        max-width: 1600px;
    }

    .container {
        max-width: 1500px;
    }
}