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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-light: #1A2035;
    --bg-white: #12172B;
    --bg-dark: #0A0E1A;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
}

/* Skip to main content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: #FF3333;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    opacity: 0;
    pointer-events: none;
    transition: top 0.3s, opacity 0.3s;
}

.skip-to-content:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Improved focus styles for all interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

/* Remove default outline only if custom focus is not supported */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #12172B; /* App header blue */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 3rem; /* Add space between logo and nav links */
}

.logo-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    display: inline-block;
    letter-spacing: -1px;
}

.logo-math {
    color: #FF3333; /* Red - matches app COLORS.error */
}

.logo-snap {
    color: #FFFFFF; /* White - matches app COLORS.textPrimary */
}

.navbar .logo-snap {
    color: #FFFFFF;
}

.logo-red {
    color: #FF3333; /* Red - matches logo RED color */
}

.logo-marker {
    color: var(--text-primary); /* White - matches default text color */
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #FF3333;
}

.nav-links a:focus,
.nav-links a:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
    color: #FF3333;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links a.btn-download:hover {
    color: white;
}

.btn-download {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid rgba(20, 184, 166, 0.4);
}

.btn-download:hover {
    background: var(--primary-light, #818CF8);
    color: white;
}

.btn-download:focus,
.btn-download:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #010203 0%, #6a7aae 100%);

    color: white;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

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

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    position: relative;
    aspect-ratio: 1;
}

.stat-before {
    background: transparent;
    border: 3px solid #FF3333;
    animation: fadeInSlide 0.6s ease-out 0.2s both;
}

.stat-after {
    background: transparent;
    border: 3px solid #10B981;
    animation: fadeInSlide 0.6s ease-out 0.8s both, pulseGlow 2s ease-in-out 1.4s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.stat-icon {
    position: absolute;
    top: 1rem;
    opacity: 0.8;
}

.stat-before .stat-icon {
    color: #FF3333;
}

.stat-after .stat-icon {
    color: #10B981;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 0.25rem;
    text-align: center;
}

.stat-before .stat-number {
    color: #FF3333;
}

.stat-after .stat-number {
    color: #10B981;
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.95;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.stat-before .stat-label {
    color: #FF3333;
}

.stat-after .stat-label {
    color: #10B981;
}

.stat-badge {
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10B981;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.stat-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.9;
    flex-shrink: 0;
    animation: slideInArrow 0.6s ease-out 0.5s both;
}

@keyframes slideInArrow {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 0.9;
        transform: translateX(0);
    }
}

.stat-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light, #818CF8);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-secondary:focus,
.btn-secondary:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 400px;
    height: 800px;
    background: #1f2937;
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.55rem;
    color: var(--text-secondary);
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;

    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 12px;
}

.problem-icon-image {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

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

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #010203 0%, #6a7aae 100%);
    color: white;
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}

.solution-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.solution-lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.solution-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.benefit-check {
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.solution-quote {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid white;
    font-style: italic;
    font-size: 1.125rem;
}

/* Features Section */
.features-section {
    padding: 120px 0 80px;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

/* Video Demo Container */
.video-demo-container {
    max-width: 1400px;
    margin: 0 auto 8rem;
    padding: 0 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.video-item {
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.4;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-link:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    pointer-events: none;
}

.video-link:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.9);
}

.video-play-button svg {
    width: 100%;
    height: 100%;
}

.video-thumbnail-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-thumbnail-button:hover {
    transform: scale(1.02);
}

.video-thumbnail-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    pointer-events: none;
    transition: transform 0.3s;
}

.video-thumbnail-button:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    z-index: 10001;
}

.video-modal-close:hover {
    transform: scale(1.2);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal {
        padding: 1rem;
    }
    
    .video-modal-close {
        top: -35px;
        font-size: 1.5rem;
    }
}

.video-play-overlay svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}


.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
}

.video-placeholder-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.video-placeholder-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.video-placeholder-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 200px;
}

/* Responsive: Stack videos on smaller screens */
@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .video-title {
        font-size: 0.85rem;
        min-height: 2.4rem;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-title {
        font-size: 0.9rem;
        min-height: auto;
    }
}

.screen-walkthrough {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.screen-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.screen-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.screen-step.reverse .screen-content {
    flex-direction: row-reverse;
}

.screen-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.screen-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 400px;
    height: 800px;
    background: #1f2937;
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow-xl);
}

.screen-preview {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screen-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.screen-1 {
    background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 100%);
}

.screen-2 {
    background: linear-gradient(180deg, #f093fb 0%, #f5576c 100%);
}

.screen-3 {
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
}

.screen-4 {
    background: linear-gradient(180deg, #43e97b 0%, #38f9d7 100%);
}

.screen-5 {
    background: linear-gradient(180deg, #fa709a 0%, #fee140 100%);
}

.screen-6 {
    background: linear-gradient(180deg, #30cfd0 0%, #330867 100%);
}

.screen-description {
    flex: 1;
}

.step-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.screen-description h3 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.screen-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.screen-features {
    list-style: none;
}

.screen-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.screen-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.pagination-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-left: -1.5rem;
}

.pagination-button {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.pagination-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-indicator {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0 80px;
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s;
}

.faq-question:hover,
.faq-question:focus {
    color: var(--primary-color);
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-question[aria-expanded="true"] {
    color: var(--primary-color);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    text-decoration: none;
}

/* Trust & Security Section */
.trust-security-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

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

.trust-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

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

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

.trust-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.trust-card a {
    color: var(--primary-color);
    text-decoration: underline;
}

.trust-card a:hover {
    text-decoration: none;
}

.trust-note {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.trust-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.trust-note strong {
    color: var(--text-primary);
}

/* GDPR Compliance Section */
.gdpr-compliance-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.gdpr-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gdpr-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.gdpr-intro p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

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

.gdpr-item {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.gdpr-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.gdpr-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.gdpr-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.gdpr-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.gdpr-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.gdpr-item a:hover {
    text-decoration: none;
}

.gdpr-legal-basis {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.gdpr-legal-basis h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.gdpr-legal-basis p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.gdpr-legal-basis strong {
    color: var(--text-primary);
}

.gdpr-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gdpr-actions .btn-primary,
.gdpr-actions .btn-secondary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

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

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

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

.gdpr-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .gdpr-grid {
        grid-template-columns: 1fr;
    }
    
    .gdpr-intro {
        padding: 1.5rem;
    }
    
    .gdpr-item {
        padding: 1.5rem;
    }
    
    .gdpr-legal-basis {
        padding: 1.5rem;
    }
    
    .gdpr-actions {
        flex-direction: column;
    }
    
    .gdpr-actions .btn-primary,
    .gdpr-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Perfect For Section */
.perfect-for-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.perfect-for-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.perfect-for-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

.perfect-for-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
    display: none;
    position: relative;
}

.contact-section.visible {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

.contact-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-header-row h2 {
    margin-bottom: 0;
}

.contact-close-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
    border-radius: 4px;
}

.contact-close-btn:hover,
.contact-close-btn:focus {
    opacity: 1;
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

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

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(239, 68, 68, 0.2));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    display: inline-block;
}

.contact-details a:hover {
    color: #FF3333;
    transform: translateX(4px);
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-subtitle {
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.required {
    color: #FF3333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 0 20px rgba(37, 99, 235, 0.1);
    background: var(--bg-white);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
}

.contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, var(--primary-color));
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.form-success,
.form-error {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Pricing Summary Section */
.pricing-summary-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.pricing-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-summary-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-summary-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.pricing-summary-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-tier {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-price-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.pricing-alternative {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
}

.pricing-alternative-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-savings {
    font-size: 0.75rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.pricing-features li.has-feature::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
}

.pricing-features-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
    flex-grow: 1;
}

.pricing-cta {
    margin-top: auto;
    text-align: center;
    width: 100%;
    display: inline-block;
}

.pricing-note {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #010203 0%, #6a7aae 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #1f2937;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.download-btn:focus,
.download-btn:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

.download-icon {
    font-size: 2rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.75rem;
    opacity: 0.7;
}

.download-store {
    font-size: 1.25rem;
    font-weight: 600;
}

.download-note {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 7.4rem;
    width: auto;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 0.75rem;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-column a:focus,
.footer-column a:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .screen-content {
        flex-direction: column !important;
    }

    .screen-step.reverse .screen-content {
        flex-direction: column !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #12172B;
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
        z-index: 1000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        display: block;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

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

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .stat {
        width: 160px;
        height: 160px;
        padding: 1.25rem;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
        top: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }

    .stat-arrow {
        transform: rotate(90deg);
    }

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

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-links {
        top: 60px;
        padding: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
}

/* Print Styles */
@media print {
    /* Reset page setup */
    @page {
        margin: 2cm;
    }
    
    /* Hide elements not needed in print */
    .navbar,
    .mobile-menu-toggle,
    .nav-links,
    .btn-download,
    .download-btn,
    .hero-buttons,
    .skip-to-content,
    .mobile-menu-toggle,
    .contact-section,
    button,
    .form-button {
        display: none !important;
    }
    
    /* Ensure body has proper background for print */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.6;
    }
    
    /* Remove shadows, backgrounds, and decorative elements */
    * {
        background: white !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Ensure proper color for text */
    h1, h2, h3, h4, h5, h6,
    p, li, span, div, a {
        color: black !important;
    }
    
    /* Keep the red branding for logo */
    .logo-red,
    .logo-math {
        color: #FF3333 !important;
    }
    
    /* Links should show URLs */
    a {
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
    
    a[href^="#"]:after {
        content: "";
    }
    
    /* Avoid page breaks in key sections */
    .hero,
    .hero-content,
    section {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    /* Page breaks before major sections */
    section:not(:first-child) {
        page-break-before: auto;
    }
    
    /* Keep headings with their content */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        break-after: avoid;
    }
    
    /* Avoid orphans and widows */
    p, li {
        orphans: 3;
        widows: 3;
    }
    
    /* Ensure images print properly */
    img {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    /* Screen steps should stay together */
    .screen-step {
        page-break-inside: avoid;
        break-inside: avoid;
        margin-bottom: 1em;
    }
    
    /* Footer styling */
    .footer {
        margin-top: 2cm;
        padding-top: 1cm;
        border-top: 1pt solid #ccc;
        page-break-inside: avoid;
    }
    
    /* Stat elements should stay on same line */
    .hero-stats,
    .stat {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    /* Testimonials should stay together */
    .testimonial {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    /* Feature cards */
    .feature-card {
        page-break-inside: avoid;
        break-inside: avoid;
        border: 1pt solid #ccc;
        padding: 0.5cm;
        margin-bottom: 0.5cm;
    }
    
    /* Ensure proper spacing */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    /* Remove animations and transforms */
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    /* Ensure content is visible */
    .hero-text,
    .feature-content,
    .testimonial-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
