/* Variables */
:root {
    --primary-color: #eda526; /* Brand yellow to match Figma */
    --secondary-color: #17a2b8; /* Light blue for accents */
    --dark-color: #016e7e; /* Turquoise background - updated to match Figma */
    --darker-color: #015662; /* Darker turquoise for hover states - updated to match Figma */
    --light-color: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --font-primary: 'Work Sans', sans-serif; /* Updated to match Figma */
    --font-secondary: 'Work Sans', sans-serif; /* Updated to match Figma */
}



/* Brooklyn font faces (local) */
@font-face {
    font-family: 'Brooklyn';
    src: url('../fonts/Brooklyn Normal 1.ttf') format('truetype'),
         url('../fonts/Brooklyn Normal 1.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brooklyn';
    src: url('../fonts/Brooklyn Bold 1.ttf') format('truetype'),
         url('../fonts/Brooklyn Bold 1.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brooklyn';
    src: url('../fonts/Brooklyn Heavy 1.ttf') format('truetype'),
         url('../fonts/Brooklyn Heavy 1.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}



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



ul {
    list-style: none;
}



/* Accessibility */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
    border-radius: 4px;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid #fff;
}



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



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}



.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 20px; /* Updated to match Figma's rounded corners */
}



.premium .btn-primary {
    background-color: #016e7e;
    color: var(--white);
    border: 2px solid #016e7e;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Premium section specific hover (yellow background) */
.premium .btn-primary:hover {
    background-color: #015662; /* darker teal */
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(1, 86, 98, 0.35);
    transform: translateY(-3px);
}



.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* Unify header button hovers with body buttons */
.premium-btn:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}



.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 20px; /* Updated to match Figma's rounded corners */
}



.premium .btn-outline {
    background-color: transparent;
    color: #016e7e;
    border: 2px solid #016e7e;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}



.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.dashboard-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}



/* Background */
.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}



.bg-top {
    position: absolute;
    background-color: var(--dark-color);
    height: 1332px;
    width: 100%;
    top: 0;
    left: 0;
}



.bg-bottom {
    position: absolute;
    background-color: var(--dark-color);
    height: 1203px;
    width: 100%;
    top: 1255px;
    left: 0;
}



/* Header */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}



header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}



.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}



.logo img {
    height: 40px;
    margin-right: 10px;
}



nav ul {
    display: flex;
    align-items: center;
}



nav ul li {
    margin-left: 30px;
}



nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}



nav ul li a:hover {
    color: var(--primary-color);
}



.premium-btn {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}



.premium-btn i, .premium-btn .icon-crown {
    margin-right: 5px;
}

.icon-crown {
    height: 18px;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -1px;
    margin-right: 8px;
}



.dashboard-btn {
    display: flex;
    align-items: center;
    border: 2px solid var(--white);
    padding: 8px 15px;
    border-radius: 20px; /* Updated to match Figma's rounded corners */
    color: var(--white);
    transition: all 0.3s ease;
}



.dashboard-btn i, .dashboard-btn .icon-sigle {
    margin-right: 5px;
}

.icon-sigle {
    height: 20px;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -1px;
    margin-right: 8px;
}



/* Hero Section */
.hero {
    background-color: transparent;
    color: var(--white);
    padding: 120px 0 50px;
    position: relative;
}



.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}



.hero-text {
    flex: 1;
}



.hero-text h1 {
    font-size: 3.125rem; /* 50px per Figma */
    font-weight: 900; /* Brooklyn Heavy fallback */
    font-family: 'Brooklyn', var(--font-primary), sans-serif;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--primary-color); /* Yellow from graphic chart */
    letter-spacing: -0.5px;
    text-transform: uppercase;
}



.hero-text p {
    font-size: 1.875rem; /* 30px per Figma */
    font-weight: 500; /* Medium */
    margin-bottom: 35px;
    line-height: 1.4;
    opacity: 0.9;
}



.hero-buttons {
    display: flex;
    flex-wrap: nowrap; /* Keep CTAs side by side on desktop */
    gap: 16px; /* Figma spacing */
    align-items: center;
}



.hero-buttons .btn {
    display: flex;
    align-items: center;
    margin: 0; /* Use gap instead of margins for consistent spacing */
}



.hero-buttons .btn i, .hero-buttons .btn .icon-crown, .hero-buttons .btn .icon-sigle {
    margin-right: 8px;
}

.hero-buttons .btn .icon-crown {
    height: 20px;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.hero-buttons .btn .icon-sigle {
    height: 22px;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -1px;
}



.hero-image {
    flex: 1;
    text-align: center;
}



.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Figma-aligned CTA sizing for hero */
.hero .btn {
    height: 52px;
    padding: 0 28px;
    border-radius: 20px; /* Figma radius */
    white-space: nowrap; /* prevent label wrapping */
}

.hero .btn .icon-crown,
.hero .btn .icon-sigle {
    width: 20px;
    height: 20px;
    object-fit: contain; /* prevent distortion */
    flex: 0 0 auto; /* avoid flex stretching */
    position: static; /* reset any inherited relative offset */
    top: auto;
}

/* spacing between icon and label */
.hero-buttons .btn .icon-crown,
.hero-buttons .btn .icon-sigle,
.hero-buttons .btn i {
    margin-right: 10px;
}



/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    margin-top: 0;
    color: var(--black);
    position: relative;
    z-index: 1;
}

.about .section-title {
    text-align: left; /* Align left per Figma */
    margin-bottom: 30px;
    position: relative;
}

.about .section-title h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700; /* bold */
    font-family: 'Brooklyn', var(--font-primary), sans-serif; /* Brooklyn */
    text-transform: uppercase; /* uppercase */
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    position: relative;
    display: block;
}

.about .title-crown { display: none; }

/* Underline bar under the About title per Figma */
.about .title-underline {
    width: 38px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 4px;
    margin-top: 5px;
    margin-left: 0; /* left aligned */
}



.about-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px; /* Match Figma spacing */
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-content {
    flex: 1;
}



.about-image {
    flex: 0 0 500px; /* 500x500 per Figma */
    text-align: center;
    width: 500px;
    height: 500px;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent; /* remove blue circle */
    border-radius: 20px; /* rounded rectangle */
    box-shadow: none;
}



.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    background-color: transparent;
    border-radius: inherit; /* inherit rounded rectangle */
    filter: none;
}



.about-text {
    flex: 1;
    padding-left: 0;
    max-width: 673px; /* Match Figma text width */
    padding-top: 0;
}



.about-text h2 {
    color: var(--dark-color);
    margin-bottom: 30px;
    font-size: 2.2rem;
    position: relative;
    padding-top: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}



.about-text h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
}



.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.7;
}

.about-text p.lead {
    font-weight: 700;
}



.about-text strong {
    color: var(--dark-color); /* keep bold text dark blue */
    font-weight: 700;
}



/* Features Section */
.features {
    padding: 100px 0;
    background-color: transparent; /* Updated to match Figma */
    text-align: center;
    color: var(--white); /* Updated to match Figma */
}



.features h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
    font-family: 'Brooklyn', var(--font-primary), sans-serif; /* Brooklyn Bold */
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-align: center;
}

/* Features title underline (yellow, centered) */
.features .title-underline {
    width: 38px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 4px;
    margin: 5px auto 12px; /* centered under title with extra spacing below */
}



.section-description {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
    text-align: center;
}

/* Ensure visibility on dark background in Features section */
.features .section-description {
    color: var(--white);
    max-width: 1094px; /* match Figma frame width */
    font-weight: 700; /* bold text below underline */
}

.premium .section-description {
    color: var(--dark-color);
    font-weight: 700; /* bold text under underline */
}



.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    justify-content: center;
}



.feature-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--dark-color);
    border: none;
    text-align: center;
}



.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}



.feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.feature-icon img {
    width: 50px;
    height: auto;
}



.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--dark-color);
}



.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    opacity: 0.9;
}



/* Premium Section */
.premium {
    padding: 100px 0;
    background-color: #F2A71B; /* Orange/yellow color from Figma */
    text-align: center;
    color: var(--dark-color);
}



.premium .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.premium .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-family: 'Brooklyn', var(--font-primary), sans-serif; /* Brooklyn */
    font-weight: 700; /* bold */
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.premium .title-underline {
    width: 38px; /* match other sections */
    height: 8px;
    background-color: var(--white);
    border-radius: 4px;
    margin: 5px auto 12px; /* consistent spacing */
}



.pricing-table {
    margin: 50px auto 40px;
    max-width: 800px;
    padding: 0 10px;
    overflow: hidden;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.pricing-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    /* Stretch cells to full row height so background colors fill top/bottom */
    align-items: stretch;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-col {
    padding: 15px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-col {
    width: 34%;
    text-align: left;
    justify-content: flex-start;
    font-weight: 500;
    color: #016e7e;
    font-family: var(--font-primary);
    padding-left: 20px;
}

.plan-col {
    width: 22%;
    padding: 30px 10px 20px;
    flex-direction: column;
}

.free-col {
    background-color: #e6f7fa;
    width: 22%;
}

.premium-col {
    background-color: var(--white);
    width: 22%;
}

.premium-ai-col {
    background-color: #e6f7fa;
    width: 22%;
}

.pricing-header {
    border-bottom: 1px solid #eaeaea;
    min-height: 120px;
}

.pricing-header .pricing-col {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* Ensure plan header title and price align consistently across columns */
.pricing-header .plan-col {
    justify-content: space-between; /* push h3 to top and .price to bottom within equal-height cell */
}

.pricing-row:first-child .pricing-col:first-child {
    border-top-left-radius: 20px;
}

.pricing-row:first-child .pricing-col:last-child {
    border-top-right-radius: 20px;
}

.pricing-row:last-child .pricing-col:first-child {
    border-bottom-left-radius: 20px;
}

.pricing-row:last-child .pricing-col:last-child {
    border-bottom-right-radius: 20px;
}

/* Plan header styles */
.plan-col h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #016e7e;
    font-family: var(--font-primary);
}

.price {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-primary);
    color: #016e7e;
}

.price-period {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.7;
}

/* Check and dash styles */
.check, .dash {
    font-size: 20px;
    font-weight: bold;
}

.check-free {
    color: #F2A71B;
}

.check-premium {
    color: #F2A71B;
}

.dash {
    color: #cccccc;
}

/* Additional styling for the pricing rows */
.pricing-row:last-child {
    /* Remove extra white padding under the last row */
    padding-bottom: 0;
}

.pricing-table th {
    vertical-align: top;
    padding-top: 0;
    padding-bottom: 0;
}

.pricing-table th:nth-child(1) {
    text-align: left;
}

.free-col {
    background-color: #e6f7fa;
    width: 22%;
}

.premium-col {
    background-color: var(--white);
    width: 22%;
}

.premium-ai-col {
    background-color: #e6f7fa;
    width: 22%;
}

.feature-col {
    width: 34%;
}

.pricing-table td:nth-child(2) {
    background-color: #f0f8fa;
    width: 22%;
}

.pricing-table td:nth-child(3) {
    background-color: var(--white);
    width: 22%;
}

.pricing-table td:nth-child(4) {
    background-color: #e6f7fa;
    width: 22%;
}

.pricing-table td:nth-child(1) {
    width: 34%;
}

/* Removing redundant width settings - using colgroup instead */



.plan-header {
    color: var(--dark-color);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 10px;
}



.plan-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}



.plan-features {
    padding: 20px;
    list-style-type: none;
}



.plan-features li {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-color);
}

.pricing-table td.feature-name {
    font-size: 1.05rem;
    text-align: left;
    padding-left: 30px;
    padding-right: 10px;
    font-weight: 600;
    color: #F5A623;
}

.feature-category {
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    padding-top: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 151, 178, 0.2);
    font-size: 1.1rem;
    margin-top: 10px;
    background-color: rgba(0, 151, 178, 0.05);
    border-radius: 5px 5px 0 0;
}

.feature-example {
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    justify-content: center;
    padding-top: 25px;
    border-bottom: none;
}



.check {
    font-size: 1.8rem;
    font-weight: bold;
    display: inline-block;
    line-height: 1;
}

.check-free {
    color: #F2A71B;
}

.check-premium {
    color: #F2A71B;
}

.dash {
    font-size: 1.8rem;
    color: #ccc;
    display: inline-block;
    line-height: 1;
}



.premium-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.icon-crown, .icon-sigle {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.icon-sigle {
    filter: none;
}

.icon-crown {
    filter: none;
}

.premium-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.premium-buttons .btn {
    margin: 0;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #016e7e;
    color: #016e7e;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(1, 110, 126, 0.12);
}

/* Premium section specific secondary hover for contrast */
.premium .btn-secondary:hover {
    background-color: #016e7e;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(1, 86, 98, 0.35);
}



/* Contest Section */
.contest {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
    color: #016e7e;
}

.contest .section-title {
    margin-bottom: 30px;
}

.contest .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: 'Brooklyn', var(--font-primary), sans-serif; /* Brooklyn */
}

.contest .section-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: 'Brooklyn', var(--font-primary), sans-serif; /* Brooklyn */
}

/* Contest underline matches others (yellow, centered) */
.contest .title-underline {
    width: 38px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 4px;
    margin: 5px auto 12px;
}



.title-underline {
    width: 80px;
    height: 4px;
    background-color: #F2A71B;
    margin: 15px auto 30px;
    border-radius: 2px;
}

.contest-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #016e7e;
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}



.contest .section-description {
    font-size: 1.1rem;
    color: #016e7e;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contest-button {
    margin-top: 40px;
}

.contest-button .btn {
    background-color: #016e7e;
    color: white;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    transition: all 0.3s ease;
}

.contest-button .btn:hover {
    background-color: #015662;
}

.contest-button .btn-icon {
    width: 24px; /* slightly larger */
    height: 24px;
}



/* Footer */
footer {
    background-color: transparent; /* Updated to match Figma */
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.6s;
}



.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 20px;
}



.footer-logo img {
    height: 50px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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



.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}



.footer-links ul li {
    margin-right: 20px;
    margin-bottom: 10px;
    position: relative;
}



.footer-links ul li a {
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.8;
    font-size: 1rem;
    position: relative;
    padding-bottom: 3px;
}



.footer-links ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-links ul li a:hover::after {
    width: 100%;
}



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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}



.social-links a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-3px);
    background-color: rgba(243, 156, 18, 0.2);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
}



.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.footer-bottom:hover {
    opacity: 0.9;
}



/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Ajustements finaux pour correspondre au design Figma */
.section {
    overflow: hidden;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 110, 126, 0.3);
}

/* Animation pour les éléments au scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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



/* Sticky Header */
header.sticky {
    background-color: rgba(1, 110, 126, 0.95); /* Updated to match Figma */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}



/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}



/* Responsive Design */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }


    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(1, 110, 126, 0.95); /* Updated to match Figma */
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }


    
    nav.active {
        max-height: 60vh;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }


    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }


    
    nav ul li {
        margin: 10px 0;
        width: 100%;
    }


    
    .premium-btn, .dashboard-btn {
        width: 100%;
        justify-content: center;
    }


    
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }


    
    .hero-image {
        margin-top: 20px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }


    
    /* Stack the about section blocks on mobile and center content */
    .about-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-content {
        text-align: center;
        gap: 40px;
    }


    
    /* Make the about image responsive on mobile (remove fixed 500x500 sizing) */
    .about-image {
        margin-bottom: 20px;
        width: 100%;
        max-width: 500px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        flex: 0 1 auto;
    }
    .about-image img {
        width: 100%;
        height: auto; /* override desktop 100% height to preserve aspect on mobile */
        object-fit: cover;
    }


    
    /* Allow horizontal scroll for wide pricing comparison on small screens */
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pricing-row {
        min-width: 720px; /* keep 4 columns layout, enable horizontal scroll */
    }


    
    .pricing-column {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
        animation: fadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    }


    
    .premium-column {
        transform: none;
        margin-top: 30px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }


    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 30px;
    }


    
    .footer-links ul {
        justify-content: center;
        margin-top: 20px;
        gap: 15px;
    }


    
    .footer-logo, .footer-links, .social-links {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }


    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
    }


    
    .social-links a {
        margin: 0;
        font-size: 1.8rem;
    }


}



@media (max-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    
    .hero {
        padding: 100px 0 60px;
    }


    
    .hero-text {
        text-align: center;
    }


    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }


    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }


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


}



@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }


    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }


    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    
    .hero-buttons .btn {
        margin: 8px 0;
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Stack premium section CTAs on mobile like header/hero */
    .premium-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .premium-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }


    
    .feature-card {
        padding: 25px 20px;
    }


    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }


}


