/* Premium Aesthetic Design System */
:root {
    --bg-main: #FBFDFB;
    --bg-secondary: #F0F7F4;
    --text-primary: #112A38;
    --text-secondary: #5A6D79;
    --primary: #00B176;
    --primary-hover: #008f5f;
    --primary-light: #E4F7EC;
    --border-color: #E2ECE6;

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-strong: 0 20px 40px rgba(0, 177, 118, 0.12);
    --shadow-hover: 0 25px 50px rgba(0, 177, 118, 0.2);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #007A5A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
button {
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00A16A);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 177, 118, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 177, 118, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-light);
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 80px;
}

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

.logo img {
    height: 120px !important;
    width: auto !important;
    display: block;
    margin: 0 !important;
}

footer .logo {
    margin: 0 auto 16px;
    justify-content: center;
}

footer .logo img {
    height: 200px !important;
    filter: grayscale(1) opacity(0.6);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 18px;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 6% 120px;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 177, 118, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
}

.hero-content {
    flex: 1.1;
    max-width: 650px;
    animation: fadeUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-hover);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 177, 118, 0.1);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.subtext {
    font-size: 0.9rem !important;
    font-weight: 500;
    color: #8C9BAB !important;
}

.hero-visual {
    flex: 0.9;
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-mockup {
    background: white;
    border: 8px solid white;
    border-radius: 36px;
    padding: 0;
    box-shadow: var(--shadow-strong);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    animation: float 6s ease-in-out infinite;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

.glass-mockup img {
    border-radius: 28px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glass-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

/* Features */
.features {
    padding: 100px 6%;
    background: white;
}

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

.feature-card {
    background: var(--bg-main);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
    padding: 15px;
    background: var(--primary-light);
    border-radius: 18px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing */
.pricing {
    padding: 100px 6%;
    background: var(--bg-main);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-strong);
    transform: scale(1.03);
}

.price-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.plan-features li {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 42, 56, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-header p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.offer-box {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 12px;
    border: 1px dashed var(--primary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.offer-box strong {
    color: var(--primary);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D0D5DD;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.success-msg {
    text-align: center;
    padding: 20px 0;
}

.success-msg h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: white;
    padding: 40px 6%;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer .logo {
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) perspective(1200px) rotateY(-8deg) rotateX(4deg);
    }

    50% {
        transform: translateY(-15px) perspective(1200px) rotateY(-6deg) rotateX(2deg);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .price-card.popular {
        transform: none;
    }

    .price-card.popular:hover {
        transform: translateY(-8px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

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

    .hero h1 {
        font-size: 2.8rem;
    }
}