/* ----------------------------------------------------
   Math Pulse Landing Page CSS Style
   Created: 2026
   ---------------------------------------------------- */

:root {
    /* Color Palette */
    --primary: #059669;
    --primary-hover: #047857;
    --secondary: #0d9488;
    --accent: #34d399;
    --dark: #0b0f19;
    --dark-light: #1e293b;
    --light: #ffffff;
    --light-grey: #f8fafc;
    --border-color: #e2e8f0;
    
    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(180deg, #0b0f19 0%, #022c22 100%);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-dark-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* BorderRadius & Shadows */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.font-handwritten-hero {
    font-family: 'Caveat', cursive !important;
    font-size: 32px !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 40px !important;
    max-width: 700px !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

section {
    padding: 100px 0;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background-color: var(--light-grey);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 22, 16, 0.94) 0%, rgba(2, 22, 16, 0.85) 45%, rgba(6, 17, 12, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-content {
    background: transparent;
    border: none;
    padding: 0;
    max-width: 800px;
    text-align: left;
    box-shadow: none;
    animation: fadeIn 0.8s ease-out;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-tagline::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.hero-title {
    font-size: 56px;
    line-height: 1.25;
    color: var(--text-white);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-title .highlight {
    background-image: linear-gradient(120deg, rgba(52, 211, 153, 0.35) 0%, rgba(52, 211, 153, 0.35) 100%);
    background-repeat: no-repeat;
    background-size: 100% 35%;
    background-position: 0 88%;
    display: inline;
}

.hero-description {
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-lbl {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.btn-secondary-hero {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-hero:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* About Section */
.about {
    background-color: var(--light-grey);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.teacher-name {
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.teacher-role {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 36px;
}

.bio-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.bio-card {
    display: flex;
    gap: 20px;
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.bio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(5, 150, 105, 0.2);
}

.bio-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bio-text strong {
    font-size: 16px;
    color: var(--text-main);
}

.bio-text span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Gratitude Letter Section */
.gratitude-letter {
    background-color: var(--light-grey);
}

.letter-block-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.letter-preview-card {
    position: relative;
    background-color: var(--light);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    width: 100%;
}

.letter-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 150, 105, 0.2);
}

.letter-img-element {
    max-height: 500px;
    object-fit: contain;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius-sm);
}

/* Formats Details Info */
.formats {
    background-color: var(--light);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.formats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.format-item {
    background-color: var(--light-grey);
    padding: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.format-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.format-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.format-item p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Reviews Section */
.reviews {
    background-color: #071f15;
    background-image: linear-gradient(135deg, #092c1d 0%, #04180f 100%);
    position: relative;
    overflow: hidden;
}

.text-chalk {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 1px rgba(255, 255, 255, 0.2);
}

.text-chalk-muted {
    color: rgba(255, 255, 255, 0.7);
}

.chalk-doodle {
    position: absolute;
    color: rgba(255, 255, 255, 0.14); /* increased brightness from 0.08 */
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-smooth);
}

.doodle-left-top {
    top: 8%;
    left: 7%;
    width: 170px;
    height: 170px;
    transform: rotate(-6deg);
}

.doodle-left-bottom {
    bottom: 8%;
    left: 7%;
    width: 180px;
    height: 180px;
    transform: rotate(8deg);
}

.doodle-left-middle {
    top: 48%;
    left: 9%;
    width: 180px;
    height: 180px;
    transform: rotate(-10deg);
}

.doodle-left-inner {
    top: 35%;
    left: 21%;
    width: 150px;
    height: 150px;
    transform: rotate(15deg);
}

.doodle-right-top {
    top: 10%;
    right: 7%;
    width: 190px;
    height: 190px;
    transform: rotate(12deg);
}

.doodle-right-middle {
    top: 48%;
    right: 9%;
    width: 180px;
    height: 180px;
    transform: rotate(-8deg);
}

.doodle-right-inner {
    top: 55%;
    right: 21%;
    width: 150px;
    height: 150px;
    transform: rotate(-12deg);
}

.doodle-right-bottom {
    bottom: 10%;
    right: 7%;
    width: 180px;
    height: 180px;
    transform: rotate(-8deg);
}

.chalk-stick-decor {
    position: absolute;
    top: 55%; /* vertically centered in the right-hand space */
    right: 12%; /* positioned in the empty area to the right of the cards */
    width: 250px; /* large, highly visible size */
    height: 125px;
    z-index: 1;
    pointer-events: none;
    transform: translateY(-50%) rotate(12deg);
}

.chalk-dust {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 1;
}

.dust-1 {
    top: 25%;
    left: 12%;
}

.dust-2 {
    bottom: 22%;
    right: 14%;
}

.dust-3 {
    top: 40%;
    right: 28%;
}

.reviews-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-card {
    min-width: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background-color: #ffffff;
    /* Notebook paper grid */
    background-image: linear-gradient(rgba(5, 150, 105, 0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(5, 150, 105, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    border-right: 3px solid #ef4444; /* red margin line */
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    transition: var(--transition-smooth);
}

.notebook-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 0;
    text-align: left;
}

.student-name-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    font-weight: 700;
    color: #065f46;
}

.student-grade-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    color: #64748b;
}

.notebook-body {
    position: relative;
    padding: 10px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: left;
}

.review-text-content {
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    z-index: 2;
    margin: 0;
}

.quote-icon-decor {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 72px;
    color: rgba(5, 150, 105, 0.07);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}


.slider-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Pricing Section */
.pricing {
    background-color: var(--light-grey);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    align-items: stretch;
}

.price-card {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 150, 105, 0.25);
}

.price-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.price-card.featured:hover {
    box-shadow: 0 25px 50px -12px rgba(5, 150, 105, 0.15);
}

.card-badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(5, 150, 105, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.featured-badge {
    color: var(--text-white);
    background: var(--gradient-primary);
}

.card-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    min-height: 42px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 28px;
}

.price-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.price-period {
    font-size: 15px;
    color: var(--text-muted);
}

.package-box {
    background-color: var(--light-grey);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 32px;
    border: 1px dashed var(--border-color);
}

.package-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.package-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.discount-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    margin-top: 0;
}

.card-features li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Trial Banner */
.trial-banner {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.trial-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0) 70%);
}

.trial-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.trial-text h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.trial-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.trial-action {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.trial-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.old-price {
    font-size: 18px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
}

.new-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* Contacts Block / Footer */
.footer {
    position: relative;
    background-image: url('images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 40px 0;
    color: var(--text-white);
}

.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.98) 100%);
    z-index: 1;
}

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

.footer-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.footer-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 650px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    text-align: left;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-card.telegram:hover {
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

.contact-card.email:hover {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

.contact-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram .contact-icon {
    background-color: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
}

.email .contact-icon {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.contact-value {
    font-size: 18px;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.made-by {
    font-weight: 500;
}

.privacy-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: var(--accent-green);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease-out;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 40px;
    font-weight: 300;
    transition: var(--transition-smooth);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.lightbox-close:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.15);
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
    font-size: 15px;
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .price-card:last-child {
        grid-column: span 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .experience-badge {
        bottom: -20px;
        right: -20px;
        padding: 20px 28px;
    }
    
    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        gap: 18px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-md);
        z-index: 99;
    }
    
    .header.mobile-active .nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 16px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }
    
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2.5px;
        background-color: var(--text-main);
        transition: var(--transition-smooth);
        border-radius: 2px;
    }
    
    .header.mobile-active .mobile-menu-toggle .bar:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    
    .header.mobile-active .mobile-menu-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    
    .header.mobile-active .mobile-menu-toggle .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-link {
        font-size: 16px;
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }
    
    .nav .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 10px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 70px 0;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 34px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .font-handwritten-hero {
        font-family: 'Caveat', cursive !important;
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 28px !important;
    }
    
    .hero-stats {
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .stat-val {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .letter-preview-card {
        padding: 16px;
    }
    
    .letter-img-element {
        max-height: 380px;
    }
    
    .chalk-doodle {
        display: none;
    }
    
    .slide-card {
        padding: 24px 20px;
        border-left: none;
        border-right: 3px solid #ef4444;
    }
    
    .notebook-header {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        margin-bottom: 16px;
    }
    
    .student-name-handwritten {
        font-size: 22px;
    }
    
    .student-grade-handwritten {
        font-size: 16px;
    }
    
    .review-text-content {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card:last-child {
        grid-column: span 1;
    }
    
    .trial-banner {
        flex-direction: column;
        padding: 32px;
        text-align: center;
    }
    
    .trial-action {
        width: 100%;
    }
    
    .trial-action .btn {
        width: 100%;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-title {
        font-size: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}
