:root {
    --primary-gradient: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    --secondary-gradient: linear-gradient(135deg, #AB47BC 0%, #7B1FA2 100%);
    --accent-gradient: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666;
    --bg-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f9fa;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-dark);
    text-decoration: none;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #000;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(33, 150, 243, 0.1) 0%, transparent 40%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 193, 7, 0.15);
    color: #FF8F00;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Phone Frame */
.phone-frame {
    width: 340px;
    height: 680px;
    background: #000;
    border-radius: 50px;
    border: 12px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 20;
}

.app-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.app-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 11;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.float-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.icon-box.blue {
    background: var(--accent-gradient);
}

.icon-box.purple {
    background: var(--secondary-gradient);
}

/* Section Styles */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-lg {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(255, 193, 7, 0.1);
    color: #FF8F00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-lg {
    background: var(--primary-gradient);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Auto Pilot Section */
.autopilot-section {
    background: #fff;
    position: relative;
}

.autopilot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.mini-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.mini-feature:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.check-circle {
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Analytics Section */
.analytics-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2f5 100%);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-desc {
    color: #aaa;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Auto Pilot Section Updates */
.autopilot-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.autopilot-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.autopilot-features {
    flex: 1.2;
}

@media (max-width: 992px) {
    .autopilot-wrapper {
        flex-direction: column;
    }

    .autopilot-image {
        margin-bottom: 40px;
    }
}

/* Analytics Section Updates */
.analytics-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
    flex-direction: row-reverse;
    /* Image on right for variety */
}

.analytics-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.analytics-features {
    flex: 1.2;
}

@media (max-width: 992px) {
    .analytics-wrapper {
        flex-direction: column;
    }

    .analytics-image {
        margin-bottom: 40px;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}


.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.lang-option:hover {
    background: #f8f9fa;
}

.lang-option.active {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    font-weight: 600;
}

@media (max-width: 768px) {
    .language-selector {
        margin-left: auto;
        margin-right: 15px;
    }

    .header .container {
        padding-right: 0;
    }
}