/* ===================================
   DOTDIGITIZE - LIGHT & MINIMAL DESIGN
   Inspired by Apple's zen aesthetic
   =================================== */

:root {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1e40af;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --light-bg: #ffffff;
    --secondary-bg: #f9fafb;
    --tertiary-bg: #f3f4f6;
    --border-color: #e5e7eb;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============= HEADER & NAVIGATION ============= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.02);
}

.logo i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.cta-link {
    color: var(--primary-color);
    padding: 8px 16px;
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu.active {
    max-height: 500px !important;
}

/* ============= HERO SECTION ============= */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI';
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    padding: 12px 32px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.3px;
}

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

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

.btn-secondary {
    background: var(--tertiary-bg);
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--secondary-bg);
    border-color: var(--primary-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.stat-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============= FEATURES SECTION ============= */

.features-section {
    padding: 100px 0;
    position: relative;
    background: var(--secondary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI';
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
}

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

.feature-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 400;
}

/* ============= PRICING SECTION ============= */

.pricing-section {
    padding: 100px 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.toggle-label {
    color: var(--text-muted);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--tertiary-bg);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 1px solid var(--border-color);
}

.toggle-switch.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-slider {
    left: 33px;
}

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

.pricing-card {
    background: var(--light-bg);
    border: 1.5px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: var(--secondary-bg);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.badge-featured {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-weight: 400;
}

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

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.pricing-features li::before {
    content: 'âœ“';
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.1rem;
}

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

/* ============= PORTFOLIO SECTION ============= */

.portfolio-section {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    aspect-ratio: 2/3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-title {
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.portfolio-category {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============= TESTIMONIALS ============= */

.testimonials-section {
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

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

.testimonial-text {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

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

.cta-section {
    padding: 100px 0;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI';
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

.cta-content .btn {
    background: white;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.cta-content .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

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

.main-footer {
    background: var(--text-dark);
    padding: 60px 0 20px;
    margin-top: 100px;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 400;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.legal-links a:hover {
    color: white;
}

/* ============= FORM STYLES ============= */

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: -0.2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--light-bg);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

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

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

/* ============= LOADER & ANIMATIONS ============= */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
}

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

.loader-logo {
    font-size: 3rem;
    margin-bottom: 30px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: var(--tertiary-bg);
    border-radius: 2px;
    margin: 30px auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-1);
    width: 0;
}

.loader-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============= CUSTOM CURSOR ============= */

.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 1;
}

.cursor-follower {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.5;
}

.cursor.hover {
    opacity: 1;
}

.cursor-follower.hover {
    opacity: 1;
}

/* ============= ANIMATION UTILITIES ============= */

.floating {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.fade-up {
    animation: fadeUp 1s ease-out;
}

.fade-up-delay {
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.reveal-text {
    animation: reveal 0.8s ease-out;
}

.split-text {
    display: block;
}

.split-text .line {
    display: block;
    overflow: hidden;
}

.stagger-reveal {
    display: grid;
    gap: 20px;
}

.magnetic {
    position: relative;
    transition: all 0.3s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes reveal {
    from { opacity: 0; scale: 0.95; }
    to { opacity: 1; scale: 1; }
}

/* ============= HERO VIDEO & MEDIA ============= */

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--primary-color);
    padding: 10px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.hero-title {
    line-height: 1.2;
}

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

.floating-authors {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.author-float {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.3;
}

.author-1 { top: 20%; right: 10%; }
.author-2 { top: 40%; right: 5%; }
.author-3 { bottom: 20%; right: 15%; }

.hero-showcase {
    position: relative;
    height: 400px;
    margin-top: 60px;
}

.showcase-book {
    position: absolute;
    width: 150px;
    aspect-ratio: 2/3;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.book-1 { left: 10%; top: 0; }
.book-2 { left: 50%; top: 40px; z-index: 10; }
.book-3 { right: 10%; top: 0; }

/* ============= GLASS MORPHISM ============= */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.card-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.featured-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
}

.tilt-card {
    transform-style: preserve-3d;
}

/* ============= HOVER EFFECTS ============= */

.hover-lift {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-fill {
    position: absolute;
    inset: 0;
    background: var(--primary-dark);
    border-radius: inherit;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* ============= FEATURE VISUAL ============= */

.feature-visual {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--gradient-1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-visual img,
.feature-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-overlay {
    opacity: 1;
}

/* ============= TESTIMONIAL SLIDER ============= */

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 20px;
}

.glass-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    min-width: 350px;
    position: relative;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0.15;
    z-index: -1;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

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

.cta-bg-video {
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0.15;
    z-index: -1;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
}

.cta-logo {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-trust-badges img {
    height: 40px;
    opacity: 0.8;
}

.cta-floating-books {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-book-1,
.float-book-2,
.float-book-3 {
    position: absolute;
    width: 120px;
    aspect-ratio: 2/3;
    opacity: 0.2;
}

.float-book-1 { top: 10%; left: 5%; }
.float-book-2 { top: 40%; right: 8%; }
.float-book-3 { bottom: 10%; left: 15%; }

/* ============= PARALLAX GALLERY ============= */

.parallax-gallery {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.gallery-track {
    display: flex;
    gap: 30px;
}

.gallery-track img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

/* ============= SUCCESS METRICS ============= */

.success-metrics {
    margin: 60px 0;
}

.success-metrics img {
    width: 100%;
    border-radius: 12px;
}

/* ============= FORM ENHANCEMENTS ============= */

.form-section {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.form-container > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.submission-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 30px 0 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    color: var(--primary-color);
}

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

.success-box,
.error-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

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

.gradient-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.section-decoration {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    opacity: 0.5;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--light-bg);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        color: var(--text-muted);
    }

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

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

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

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

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

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

    .cta-content {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .pricing-grid,
    .features-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-amount {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}