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

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #22d3ee;
    --secondary: #f0f9ff;
    --text: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --success: #10b981;
    --warning: #f59e0b;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-greeting {
    color: var(--primary);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    border: 1px solid var(--gray-200);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--gray-300);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-disabled {
    background: var(--gray-200);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-disabled-light {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-disabled-light:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.2);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 0 2px #333;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}

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

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    font-weight: 600;
    text-align: center;
}

.app-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-card {
    height: 80px;
    background: var(--gray-100);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

/* Screenshots Gallery - 3D Carousel */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 520px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-3d {
    position: relative;
    width: 260px;
    height: 520px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    position: absolute;
    width: 260px;
    height: 520px;
    backface-visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-item .screenshot-phone {
    width: 240px;
    height: 480px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 2px #333;
    position: relative;
}

.carousel-item .screenshot-phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 16px;
    z-index: 10;
}

.carousel-item .screenshot-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.carousel-item .screenshot-label {
    margin-top: 16px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active .screenshot-label {
    opacity: 1;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: var(--gray-400);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: var(--shadow);
}

.carousel-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 450px;
        perspective: 800px;
    }
    
    .carousel-3d {
        width: 200px;
        height: 450px;
    }
    
    .carousel-item {
        width: 200px;
        height: 450px;
    }
    
    .carousel-item .screenshot-phone {
        width: 180px;
        height: 360px;
        border-radius: 28px;
    }
    
    .carousel-arrows {
        padding: 0 10px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--secondary);
}

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

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-quote {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}

.about-quote p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 12px;
}

.about-quote cite {
    color: var(--primary);
    font-weight: 600;
}

.about-blessing {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--primary) !important;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
    background: var(--gray-100);
}

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

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

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-300);
    margin-top: 12px;
}

.footer h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-300);
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: var(--secondary);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-muted);
}

/* Content Page */
.content-page {
    padding: 60px 0 100px;
}

.content-page .container {
    max-width: 800px;
}

.content-page h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    color: var(--text);
}

.content-page h2:first-of-type {
    margin-top: 0;
}

.content-page p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.content-page ul {
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page li {
    margin-bottom: 8px;
}

/* Contact Form */
.contact-section {
    padding: 60px 0 100px;
}

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

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.contact-email-icon {
    font-size: 2rem;
}

.contact-email a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-type {
    background: var(--gray-100);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.contact-type-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-type span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 24px;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-types {
        grid-template-columns: 1fr;
    }
}
