:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --primary-light: #66b3ff;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --success-color: #28a745;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --text-muted: #8e9aaf;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background: var(--gradient-hero);
    overflow-x: hidden;
    font-weight: 400;
}

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

/* Enhanced Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color:  #007bff;
    background-clip: text;
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

header nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    border-radius: 8px;
    transition: var(--transition);
    z-index: -1;
}

header nav ul li a:hover::before,
header nav ul li a.active::before {
    opacity: 0.1;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

header nav ul li a.active::before {
    opacity: 0 !important;
}

header nav ul li a.active {
    color: var(--text-color) !important;
    transform: none !important;
}

/* Enhanced Hero Section */
#hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    padding: 120px 0 100px;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(23, 162, 184, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

#hero h1 br {
    display: block;
}

#hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    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.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #5a6268 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.hero-image {
    margin-top: 60px;
    animation: float 6s ease-in-out infinite;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

/* Enhanced Sections */
section {
    padding: 100px 0;
}

section:nth-child(even) {
    background: rgba(255, 255, 255, 0.6);
}

h2 {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    letter-spacing: -0.02em;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Enhanced Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    background: var(--card-background);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.feature-item .icon-placeholder {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-item .icon-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-item:hover .icon-placeholder::before {
    opacity: 0.2;
}

.feature-item h3 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Enhanced How It Works Section */
#how-it-works {
    background: var(--card-background);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 0;
}

.step {
    background: var(--background-color);
    padding: 30px 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    flex-basis: calc(33.333% - 30px);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    border: 3px solid #fff;
}

.step h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.how-it-works-visual img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    margin: 40px auto 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

/* Enhanced CTA Section */
#cta {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#cta .container {
    position: relative;
    z-index: 1;
}

#cta h2 {
    color: #fff;
    margin-bottom: 20px;
}

#cta h2::after {
    background: rgba(255, 255, 255, 0.3);
}

#cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

#cta .btn-primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

#cta .btn-primary:hover {
    background: #f8f9fa;
    color: var(--primary-dark);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.social-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    text-align: center;
    padding: 60px 0 40px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

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

    .steps-container::before {
        display: none;
    }

    header nav ul {
        gap: 1.5rem;
    }

    header nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    header {
        padding: 1rem 0;
    }

    header nav .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .logo {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    header nav ul {
        gap: 1rem;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    header nav ul li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    #hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    #hero h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 20px;
    }

    #hero .subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-image video {
        width: 100% !important;
        max-width: 400px;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 40px;
    }

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

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step {
        flex-basis: 100%;
        max-width: 400px;
        margin-bottom: 40px;
    }

    .step:last-child {
        margin-bottom: 0;
    }

    #cta {
        padding: 60px 0;
    }

    #cta h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 15px;
    }

    #cta p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .social-links {
        gap: 20px;
        flex-wrap: wrap;
    }

    footer {
        padding: 40px 0 30px;
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    header {
        padding: 0.8rem 0;
    }

    header nav .container {
        gap: 12px;
    }

    .logo {
        font-size: 1.6rem;
    }

    header nav ul {
        gap: 0.5rem;
        width: 100%;
        justify-content: space-around;
        margin-top: 10px;
    }

    header nav ul li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    #hero {
        padding: 60px 0 50px;
    }

    #hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        line-height: 1.3;
        margin-bottom: 18px;
    }

    #hero .subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .hero-image {
        margin-top: 35px;
    }

    .hero-image video {
        width: 100% !important;
        max-width: 320px;
    }

    section {
        padding: 50px 0;
    }

    h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 35px;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .feature-item .icon-placeholder {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .feature-item h3 {
        font-size: 1.4rem;
    }

    .step {
        padding: 25px 20px;
        max-width: 320px;
    }

    .step h3 {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .step p {
        font-size: 0.95rem;
    }

    #cta {
        padding: 50px 0;
    }

    #cta h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 12px;
    }

    #cta p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .social-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    .social-links a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    footer {
        padding: 35px 0 25px;
        margin-top: 50px;
    }

    footer p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
}

/* Ultra-small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .container {
        padding: 0 14px;
    }

    header nav .container {
        flex-direction: column;
        gap: 8px;
    }

    .logo {
        font-size: 1.5rem;
    }

    header nav ul {
        width: 100%;
        justify-content: space-between;
        gap: 0.3rem;
        margin-top: 8px;
    }

    header nav ul li a {
        padding: 0.25rem 0.4rem;
        font-size: 0.8rem;
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    #hero h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    #hero .subtitle {
        font-size: clamp(0.9rem, 4.5vw, 1rem);
        padding: 0 3px;
    }

    .hero-image video {
        max-width: 280px !important;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    h2 {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .feature-item {
        padding: 25px 15px;
    }

    .feature-item .icon-placeholder {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }

    .feature-item h3 {
        font-size: 1.3rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .step {
        padding: 20px 15px;
        max-width: 280px;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    #cta h2 {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    #cta p {
        font-size: 0.95rem;
        padding: 0 3px;
    }
}