/* ===========================
   ROOT VARIABLES & RESET
   =========================== */
:root {
    /* Unified Color Palette - Teal/Coral Theme */
    --primary-color: #1f889c;
    --primary-light: #4db8cc;
    --primary-dark: #156b7a;
    --primary-medium: #2a8fa3;
    
    --secondary-color: #ff6b6b;
    --success-color: #4caf50;
    --error-color: #f44336;
    
    --primary-gradient: linear-gradient(135deg, #1f889c 0%, #4db8cc 100%);
    --secondary-gradient: linear-gradient(135deg, #4db8cc 0%, #1f889c 100%);
    --tertiary-gradient: linear-gradient(135deg, #ff6b6b 0%, #1f889c 100%);
    --bg-gradient: linear-gradient(135deg, #1f889c 0%, #4db8cc 50%, #156b7a 100%);
    
    --text-dark: #333333;
    --text-light: #666666;
    --text-secondary: #666666;
    --white: #ffffff;
    --background: #f4f4f4;
    
    --shadow-sm: 0 2px 8px rgba(31, 136, 156, 0.1);
    --shadow-md: 0 4px 20px rgba(31, 136, 156, 0.15);
    --shadow-lg: 0 10px 40px rgba(31, 136, 156, 0.2);
    --shadow-xl: 0 20px 60px rgba(31, 136, 156, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   ANIMATED BACKGROUND
   =========================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-gradient);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #1f889c, #4db8cc);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4db8cc, #1f889c);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ff6b6b, #1f889c);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 100px) scale(1.1); }
    50% { transform: translate(-50px, 50px) scale(0.9); }
    75% { transform: translate(100px, -50px) scale(1.05); }
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.gradient-text {
    background: linear-gradient(135deg, #4db8cc 0%, #73d4e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-section .gradient-text {
    background: linear-gradient(135deg, #73d4e8 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(77, 184, 204, 0.5));
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
    background: transparent;
    position: relative;
    padding-bottom: 4rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(10deg) scale(1.1);
}

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

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* ===========================
   BUTTONS
   =========================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.cta-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(31, 136, 156, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 136, 156, 0.4);
}

.cta-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
}

.cta-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cta-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(31, 136, 156, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.big-logo {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* ===========================
   SECTIONS
   =========================== */
section {
    padding: 6rem 5%;
    position: relative;
    background: var(--background);
}

section:nth-child(even) {
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(31, 136, 156, 0.1), rgba(67, 155, 218, 0.1));
    border: 1px solid rgba(31, 136, 156, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ===========================
   GLASS CARD EFFECT
   =========================== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===========================
   FEATURES SECTION
   =========================== */
.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature {
    text-align: center;
}

.feature-icon {
    margin: 0 auto 1.5rem;
    width: fit-content;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature img {
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
    flex: 1 1 280px;
    min-width: 280px;
    max-width: 350px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.step-icon {
    margin: 0 auto 1.5rem;
    width: fit-content;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.step img {
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
}

.step-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 1rem;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta {
    background: var(--bg-gradient);
    padding: 6rem 5%;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: rgba(31, 136, 156, 0.15) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cta-note {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ===========================
   PRICING SECTION
   =========================== */
.pricing {
    background: white;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-plan {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.pricing-plan.most-chosen {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-plan.premium {
    background: var(--primary-gradient);
    color: white;
}

.pricing-plan.premium h3,
.pricing-plan.premium .plan-description,
.pricing-plan.premium .plan-price {
    color: white;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    transform: rotate(45deg);
    background: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pricing-plan h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 2rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-button-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-sm);
    margin-top: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(31, 136, 156, 0.3);
}

.cta-button-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 136, 156, 0.4);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    background: var(--background);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group label svg {
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 136, 156, 0.1);
}

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

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.125rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 300px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-arrow {
        display: none;
    }

    .steps-container {
        flex-direction: column;
    }

    .step {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li:last-child {
        margin-top: 1rem;
    }

    .hero-section {
        padding: 3rem 5% 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-container,
    .pricing-container {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }

    .step {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .pricing-plan.most-chosen {
        transform: scale(1);
    }

    .ribbon {
        right: -30px;
        padding: 5px 35px;
        font-size: 0.65rem;
    }

    section {
        padding: 4rem 5%;
    }

    .glass-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero-section p {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .big-logo {
        max-width: 300px;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        width: 300px;
        height: 300px;
    }
}
