/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors matching React app */
    --primary: #3366cc;
    --primary-hover: #2855aa;
    --secondary: #FF9933;
    --secondary-hover: #e68829;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green-500: #10b981;
    --yellow-400: #facc15;
    
    /* Spacing */
    --container-padding: 1rem;
    --container-max-width: 1280px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

@media (min-width: 768px) {
    .header-content {
        height: 80px;
    }
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-arrow {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.logo-wrapper:hover .back-arrow {
    color: var(--primary);
}

.logo {
    height: 40px;
    width: auto;
}

@media (min-width: 768px) {
    .logo {
        height: 48px;
    }
}

.logo-link {
    display: block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-nav {
        gap: 1.5rem;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .nav-link {
        font-size: 1rem;
    }
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link-secondary:hover {
    color: var(--secondary);
}


/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-container {
    position: relative;
    z-index: 10;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 48rem;
    position: relative;
}

/* ========================================
   MISTAKE CLOUD
   ======================================== */

.mistake-cloud {
    background-image: url('images/cloud3.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Mobile version - inline between title and description */
.mistake-cloud-mobile {
    width: 90%;
    max-width: 300px;
    height: 200px;
    margin: 2rem auto;
    padding: 3rem 2rem 4rem;
}

@media (min-width: 768px) {
    .mistake-cloud-mobile {
        max-width: 320px;
        height: 200px;
        padding: 2.5rem 2rem 3rem;
    }
}

@media (min-width: 1280px) {
    .mistake-cloud-mobile {
        display: none;
    }
}

/* Desktop version - positioned on the side */
.mistake-cloud-desktop {
    display: none;
}

@media (min-width: 1280px) {
    .mistake-cloud-desktop {
        display: flex;
        position: absolute;
        right: -50px;
        top: 30%;
        transform: translateY(-50%);
        width: 280px;
        height: 200px;
        padding: 1.5rem 2rem 3rem;
    }
}

@media (min-width: 1440px) {
    .mistake-cloud-desktop {
        right: -100px;
        width: 320px;
        height: 240px;
        top: 25%;
        padding: 2rem 2.5rem 3.5rem;
    }
}

.mistake-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.4;
    width: 100%;
    color: #333;
}

@media (min-width: 768px) {
    .mistake-text {
        font-size: 0.9rem;
        gap: 0.4rem;
    }
}

@media (min-width: 1440px) {
    .mistake-text {
        font-size: 0.85rem;
    }
}

.mistake-wrong {
    color: #ef4444;
    font-weight: 700;
    text-decoration: line-through;
}

.mistake-right {
    color: #10b981;
    font-weight: 700;
}

.mistake-note {
    color: var(--gray-700);
    font-size: 0.7rem;
    font-style: italic;
    margin-top: 0.25rem;
}

@media (min-width: 1440px) {
    .mistake-note {
        font-size: 0.75rem;
    }
}

.hero-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-badges {
        gap: 1rem;
    }
}

.hero-badge-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-badge-link:hover {
    transform: scale(1.05);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 153, 51, 0.9);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .hero-badge {
        font-size: 1rem;
    }
}

.hero-badge:hover {
    background-color: rgba(255, 153, 51, 1);
}

.hero-badge-trial {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #1a1a1a;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 9999px;
    border: 3px solid white;
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.5);
    animation: pulse-hero-trial 2s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.hero-badge-trial:hover {
    background: linear-gradient(135deg, #FFC700 0%, #FFB700 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.7);
}

@media (min-width: 768px) {
    .hero-badge-trial {
        font-size: 1.1rem;
        padding: 0.6rem 1.25rem;
    }
}

@keyframes pulse-hero-trial {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 16px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 24px rgba(255, 215, 0, 0.7);
    }
}

/* Trial badge inline style */
.trial-sub-inline {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.9;
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .trial-sub-inline {
        font-size: 0.8rem;
    }
}

.hero-trial-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    font-style: italic;
    max-width: 500px;
}

@media (min-width: 768px) {
    .hero-trial-note {
        font-size: 0.9rem;
    }
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-btn {
    background-color: var(--primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.5rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border: 0;
    cursor: pointer;
}

.hero-btn-sketch {
    border-radius: 255px 25px 225px 20px/20px 225px 25px 255px;
    border: 4px solid var(--primary);
    border-top-width: 5px;
    border-right-width: 3px;
    border-bottom-width: 4px;
    border-left-width: 5px;
    box-shadow: 
        4px 5px 0 var(--primary),
        8px 10px 0 rgba(51, 102, 204, 0.4),
        -1px -1px 0 rgba(255, 255, 255, 0.3) inset;
    transform: rotate(-1deg);
}

.hero-btn:hover {
    transform: translateY(-6px) rotate(1deg) scale(1.05);
    box-shadow: 
        6px 7px 0 var(--primary),
        12px 14px 0 rgba(51, 102, 204, 0.4),
        -1px -1px 0 rgba(255, 255, 255, 0.3) inset;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.section-white {
    background-color: #ffffff;
}

.section-gray {
    background-color: var(--gray-50);
}

.section-light {
    background-color: #f8fafc;
}

/* ========================================
   VIDEO PROMO SECTION
   ======================================== */

.section-video-promo {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 100%);
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px dashed var(--gray-400);
    position: relative;
    overflow: hidden;
}

.video-placeholder:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    transform: scale(1.02);
}

.video-placeholder-content {
    text-align: center;
    color: var(--gray-600);
}

.video-play-icon {
    width: 80px;
    height: 80px;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.video-placeholder:hover .video-play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.video-placeholder-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-coming-soon {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

/* ========================================
   COURSE OPTIONS SECTION
   ======================================== */

.course-options-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(51, 102, 204, 0.05) 0%, rgba(255, 153, 51, 0.05) 100%);
    border-radius: 1rem;
    border: 2px solid var(--gray-200);
    text-align: center;
}

.course-options-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.course-options-text strong {
    color: var(--primary);
}

@media (min-width: 768px) {
    .course-options-text {
        font-size: 1.25rem;
    }
}

/* ========================================
   SECTION DESC EXTRA
   ======================================== */

.section-desc-extra {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 1rem auto 0;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-desc-extra {
        font-size: 1.1rem;
    }
}

/* ========================================
   PLATFORM FEATURES GRID
   ======================================== */

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 70rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.platform-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.platform-icon {
    width: 64px;
    height: 64px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.platform-feature:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.platform-icon svg {
    width: 32px;
    height: 32px;
}

.platform-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
}

.section-cta {
    background-color: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-cta .section-title {
    color: white;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.section-title-colored {
    color: var(--secondary);
}

.section-desc-colored {
    color: var(--primary);
    font-weight: 500;
}

.trial-highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin: 1.5rem auto 0;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.4);
    animation: pulse-trial 2s ease-in-out infinite;
    border: 3px solid white;
}

@media (max-width: 768px) {
    .trial-highlight {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        gap: 0.5rem;
    }
}

.trial-icon {
    font-size: 1.5rem;
    animation: bounce-icon 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .trial-icon {
        font-size: 1.25rem;
    }
}

.trial-text strong {
    font-weight: 900;
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .trial-text strong {
        font-size: 1.125rem;
    }
}

@keyframes pulse-trial {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 16px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(255, 215, 0, 0.6);
    }
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ========================================
   FEATURES GRID
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-image: url('images/cloud1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2.5rem 3.5rem 6rem;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 220px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

@media (min-width: 768px) {
    .feature-card {
        min-height: 220px;
        padding: 3.5rem 1.75rem 4.5rem;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .feature-card {
        min-height: 240px;
        padding: 3.5rem 2rem 5rem;
    }
}

.feature-card:nth-child(2n) {
    background-image: url('images/cloud2.png');
}

/* Na telefonie - większy padding dla cloud1 (1. i 3. karta) */
@media (max-width: 767px) {
    .feature-card:nth-child(odd) {
        padding-left: 4.5rem;
        padding-right: 4.5rem;
    }
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.05);
}

.feature-icon {
    display: none;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    width: 100%;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.35;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .feature-desc {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

/* ========================================
   PACKAGES
   ======================================== */

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 90rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Pre-packages text */
.pre-packages-text {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: -2rem;
}

.pre-packages-text p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

@media (min-width: 768px) {
    .pre-packages-text p {
        font-size: 1.5rem;
    }
}

.package-card {
    background-color: #ffffff;
    border: 3px solid var(--gray-200);
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(-0.5deg);
}

.package-card:hover {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.package-card:nth-child(2) {
    transform: rotate(0.5deg);
}

.package-card:nth-child(2):hover {
    transform: translateY(-4px) rotate(-0.5deg);
}

.package-card-featured {
    border-color: var(--secondary);
    border-width: 4px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.package-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    background-color: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.package-content {
    padding: 2rem 2.5rem;
}

.package-content-featured {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.05) 0%, rgba(255, 153, 51, 0.1) 100%);
    padding-top: 3rem;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
}

.package-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.package-price-wrapper {
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

@media (min-width: 768px) {
    .price-amount {
        font-size: 3.75rem;
    }
}

.price-amount-secondary {
    color: var(--secondary);
}

.price-period {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.package-trial {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: italic;
}

.package-trial-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .package-trial-main {
        font-size: 2rem;
    }
}

.package-trial-main-vip {
    color: var(--secondary);
}

.package-price-after {
    font-size: 1rem;
    color: var(--gray-600);
}

.price-amount-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-amount-small-vip {
    color: var(--secondary);
}

.price-period-small {
    font-size: 1rem;
    color: var(--gray-600);
}

.package-desc {
    color: var(--gray-600);
}

.package-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--green-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    color: var(--gray-700);
}

.package-btn {
    width: 100%;
    padding: 1.5rem 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.package-btn:hover {
    transform: rotate(0.5deg) translateY(-2px);
}

.package-btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 4px 4px 0px rgba(51, 102, 204, 0.3);
}

.package-btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 6px 6px 0px rgba(51, 102, 204, 0.4);
}

.package-btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 4px 4px 0px rgba(255, 153, 51, 0.3);
}

.package-btn-secondary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 6px 6px 0px rgba(255, 153, 51, 0.4);
}

.package-btn-free {
    background-color: #10b981;
    color: white;
    box-shadow: 4px 4px 0px rgba(16, 185, 129, 0.3);
}

.package-btn-free:hover {
    background-color: #059669;
    box-shadow: 6px 6px 0px rgba(16, 185, 129, 0.4);
}

.price-free {
    font-size: 2rem;
    color: #10b981;
}

/* ========================================
   PLATFORM DETAILS
   ======================================== */

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.platform-item {
    text-align: center;
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background-color: rgba(51, 102, 204, 0.1);
    color: var(--primary);
}

.platform-icon svg {
    width: 32px;
    height: 32px;
}

.platform-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.platform-desc {
    color: var(--secondary);
    font-weight: 500;
}

/* ========================================
   TESTIMONIALS CAROUSEL
   ======================================== */

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-carousel {
        gap: 1rem;
    }
}

.carousel-container {
    overflow: hidden;
    flex: 1;
    border-radius: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1rem;
}

.carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(51, 102, 204, 0.3);
    z-index: 10;
}

@media (min-width: 768px) {
    .carousel-btn {
        width: 48px;
        height: 48px;
    }
}

.carousel-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(51, 102, 204, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .carousel-btn svg {
        width: 24px;
        height: 24px;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--gray-400);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Testimonial Card in Carousel */
.testimonial-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 0.667rem);
    }
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(51, 102, 204, 0.15);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: var(--yellow-400);
    color: var(--yellow-400);
}

@media (min-width: 768px) {
    .star-icon {
        width: 18px;
        height: 18px;
    }
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-text {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    text-align: left;
}

@media (min-width: 768px) {
    .testimonial-text {
        font-size: 0.85rem;
    }
}

.testimonial-text:last-child {
    margin-bottom: 0;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   FAQ
   ======================================== */

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-900);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question span {
    padding-right: 1rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--gray-600);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* ========================================
   FINAL CTA
   ======================================== */

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-btn {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background-color: var(--secondary);
    color: white;
}

.cta-btn-primary:hover {
    background-color: var(--secondary-hover);
}

.cta-btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background-color: var(--gray-100);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
}

.footer-content {
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.footer-icon-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(255, 153, 51, 0.8) 100%);
}

.footer-icon-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, rgba(51, 102, 204, 0.8) 100%);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-contact a {
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

