/* =====================================================
   STOCKTRIC PUBLIC PAGES CSS
   ===================================================== */

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fecaca;
    --primary-bg: #fef2f2;
    --secondary: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --success: #22c55e;
    --warning: #f59e0b;
    --info: #3b82f6;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent FOUC (Flash of Unstyled Content) */
html {
    visibility: visible;
    opacity: 1;
}

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

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   HEADER
   ===================================================== */

.public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.public-header.scrolled {
    box-shadow: var(--shadow-md);
}

.public-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-700);
    cursor: pointer;
}

/* =====================================================
   MOBILE MENU
   ===================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-600);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav a {
    padding: 12px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* =====================================================
   HERO SLIDER
   ===================================================== */

.hero-slider {
    position: relative;
    height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slider__track {
    position: relative;
    height: 100%;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slider__slide.active {
    opacity: 1;
}

.hero-slider__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220,38,38,0.9) 0%, rgba(15,23,42,0.8) 100%);
}

.hero-slider__content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.hero-slider__eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-slider__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-slider__description {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-slider__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-slider__btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

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

.hero-slider__btn--primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.hero-slider__btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.hero-slider__btn--secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.hero-slider__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider__dot.active,
.hero-slider__dot:hover {
    background: var(--white);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
}

.hero-slider__arrow:hover {
    background: rgba(255,255,255,0.3);
}

.hero-slider__arrow--prev {
    left: 20px;
}

.hero-slider__arrow--next {
    right: 20px;
}

/* =====================================================
   HERO SECTION (STATIC)
   ===================================================== */

.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 30px;
}

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

.hero-meta {
    font-size: 14px;
    color: var(--gray-500);
}

.hero-panel {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.hero-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero-feature-list {
    list-style: none;
}

.hero-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.hero-feature-list li:last-child {
    border-bottom: none;
}

.hero-feature-list .icon {
    font-size: 20px;
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
}

/* =====================================================
   CARDS GRID
   ===================================================== */

.cards-grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.homepage-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.homepage-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.homepage-card-image {
    width: 80px;
    height: 80px;
    background: var(--primary-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.homepage-card-image svg {
    stroke: var(--primary);
}

.homepage-module-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.card-list {
    list-style: none;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}

.card-list .bullet {
    color: var(--primary);
    font-weight: bold;
}

/* =====================================================
   FEATURES PAGE
   ===================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
}

/* =====================================================
   PRICING PAGE
   ===================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-description {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--success);
}

/* =====================================================
   BLOG
   ===================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.blog-card-link:hover {
    gap: 10px;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-details li i {
    width: 40px;
    height: 40px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.cta-section__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-section__container {
    position: relative;
    z-index: 10;
}

.cta-section__logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.cta-section__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section__description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cta-section__btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.cta-section__btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.cta-section__note {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* =====================================================
   TRUSTED SECTION
   ===================================================== */

.trusted-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.trusted-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.trusted-section__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.trusted-section__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
}

.trusted-section__logos-wrapper {
    overflow: hidden;
}

.trusted-section__logos {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

.trusted-section__logo-item {
    flex-shrink: 0;
}

.trusted-section__logo-img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.trusted-section__logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =====================================================
   FOOTER
   ===================================================== */

.public-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-newsletter h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-700);
    border-radius: var(--border-radius);
    background: var(--gray-800);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 16px;
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--gray-800);
    font-size: 14px;
}

/* =====================================================
   PAGE HEADER
   ===================================================== */

.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-600);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .homepage-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
    }
    
    .footer-newsletter {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-slider__title {
        font-size: 32px;
    }
    
    .hero-slider__content {
        padding: 40px 20px;
    }
    
    .hero-slider__actions {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .homepage-grid-3,
    .homepage-grid-2,
    .features-grid,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .section h2 {
        font-size: 28px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .cta-section__title {
        font-size: 28px;
    }
    
    .cta-section__actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }
    
    .hero-slider__title {
        font-size: 26px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand,
    .footer-newsletter {
        grid-column: span 1;
    }
}
