@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* ============================================

   AI Weekend Landing Page Styles
   Flat Minimalist Design
   ============================================ */

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary-color: #006FEE;
    --primary-dark: #0060cd;
    --primary-light: #1b79e4;
    --secondary-color: #B6F214;
    --dark: black;
    --dark-light: #334155;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --text-dark: #11181C;
    --text-gray: #e6e6e6;
    --success: #10b981;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --font-family: 	'Manrope', sans-serif;
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 16px;

    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ============================================
   Utilities
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-white {
    color: var(--white) !important;
    background-color: transparent !important;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.88); /* bg-[#FFFFFFE0] */
    top: 1rem; /* top-4 */
    border: 1px solid rgba(188, 195, 208, 0.32); /* border-[rgba(188,195,208,0.32)] */
    padding: 1rem 2rem; /* py-4 px-8 */
    margin-left: 3rem;  /* mx-12 */
    margin-right: 3rem;
    color: #121A1D;
    backdrop-filter: blur(24px); /* backdrop-blur-2xl */
    border-radius: 1.5rem; /* rounded-3xl */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link {
    cursor:  pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.nav-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-small);
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: calc(8rem + 70px) 0 6rem;
    background-image: url('../public/background.png');
    /*margin-top: 70px;*/
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.4;
}

.hero-info {
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ============================================
   Sections
   ============================================ */

.section-list {
    margin-top: 4rem;
    display: flex;          /* flex */
    flex-direction: column; /* flex-col */
    gap: 3rem;            /* gap-6 = 1.5rem */
    padding-left: 1.5rem;   /* px-6 = 1.5rem */
    padding-right: 1.5rem;  /* px-6 = 1.5rem */
}

.section > .container {
    max-width: none;
    margin: 0;
}

.section {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 4rem;              /* gap-16 = 4rem */
    padding: 4rem 2.5rem;   /* py-16 = 4rem (top/bottom), px-10 = 2.5rem (left/right) */
    border-radius: 32px;    /* rounded-[32px] */

    /* Медиазапрос для sm (640px+) */
}

@media (min-width: 640px) {
    .section {
        padding: 8rem 5rem;   /* sm:py-32 (8rem), sm:px-20 (5rem) */
        border-radius: 88px;  /* sm:rounded-[88px] */
    }
}

.section-title {
    text-align: left;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: left;
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-gradient {
    background: var(--gradient);
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   Audience Section
   ============================================ */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.audience-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.audience-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.audience-card p {
    color: var(--text-dark);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

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

.skill-number {
    display: inline-block;
    background: var(--light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.skill-card > p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.skill-card ul {
    list-style: none;
    margin-top: 1rem;
}

.skill-card ul li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
}

.skill-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   Program Timeline
   ============================================ */
.program-timeline {
    margin-top: 3rem;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% + 3rem);
    background: var(--light-gray);
}

.timeline-marker {
    flex-shrink: 0;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.timeline-details {
    display: grid;
    gap: 1.5rem;
}

.timeline-block h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.timeline-block ul {
    list-style: none;
}

.timeline-block ul li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-block ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ============================================
   Format Section
   ============================================ */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.format-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.format-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.format-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.format-card p {
    color: var(--text-dark);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--light-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

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

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

.pricing-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-small);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.pricing-header h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

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

.price-description {
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-gray);
}

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

/* ============================================
   Registration Form
   ============================================ */
.register-content {
    max-width: 700px;
    margin: 0 auto;
}

.register-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    text-align: center;
    color: var(--white);
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-gray);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: var(--dark-light);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--light-gray);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -200%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        color: var(--text-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
    }

    .nav-link.nav-cta {
        color: var(--white) !important;
    }

    .nav-link.nav-cta:hover {
        color: var(--white) !important;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .audience-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    section .container {
        padding: 0 0.5rem;
    }

    .about-card {
        padding: 1rem;
    }

    .section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2rem 0;
    }



    .container {
        padding: 0 1rem;
    }

    .register-form {
        padding: 2rem 1.5rem;
    }

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

    .timeline-item {
        gap: 1rem;
    }

    .timeline-item:not(:last-child)::after {
        left: 12px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .logo {
        font-size: 1rem !important;
    }

    .navbar-scrolled {
        padding: 1rem 1rem !important;
    }

    .format-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .timeline-marker {
        display: none;
    }

    .timeline-item::after {
        display: none;
    }
}


.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 600px;
    background: rgba(30, 41, 59, 0.95);
    color: #f8fafc;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
    display: none;
    z-index: 9999;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    opacity: 0;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    bottom: 40px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.cookie-content a {
    color: #60A5FA;
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-content a:hover {
    color: #93C5FD;
}

.cookie-btn {
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    align-self: stretch;
    transition: background 0.3s ease, transform 0.2s ease;
}

#cookie-decline {
    background: var(--light-gray);
    color: var(--text-dark);
}

.cookie-btn:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

/* Для мобильных устройств */
@media (max-width: 480px) {
    .cookie-banner {
        font-size: 0.875rem;
        padding: 1rem 1.25rem;
    }
}
