/* ==========================================================================
   KlarSchiff Website - Professional Styling
   ========================================================================== */

:root {
    --primary-blue: #1A237E;
    --primary-blue-light: #3949AB;
    --secondary-orange: #FF9800;
    --success-green: #059669;
    --success-green-light: #10b981;
    --background-light: #F8FAFC;
    --background-white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --border-gray: #E5E7EB;
    --shadow: 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);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    background: var(--background-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    background: var(--primary-blue);
    color: white;
    font-weight: 800;
    font-size: 24px;
    padding: 8px 16px;
    border-radius: 12px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero .highlight {
    background: linear-gradient(135deg, #f5576c 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

.trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   Phone Mockup (Android Style)
   ========================================================================== */

.hero-phone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 668px; /* iPhone 16 Pro 6.3" ratio: 2622×1206 ≈ 2.174:1 */
    background: #1a1a1a;
    border-radius: 44px; /* iPhone 16 Pro corner radius */
    padding: 12px;
    box-shadow:
        0 0 0 3px #2a2a2a,
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Dynamic Island already visible in screenshots – no CSS overlay needed */
.phone-mockup::before {
    display: none;
}

.phone-mockup::after {
    display: none;
}

.phone-screen {
    position: absolute;
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 32px; /* iPhone 16 Pro screen corner radius */
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.phone-screen.active {
    opacity: 1;
}

.screen-dots {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: 100px 0;
    background: var(--background-light);
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* ==========================================================================
   Privacy Highlight Section
   ========================================================================== */

.privacy-highlight {
    padding: 100px 0;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

.privacy-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.privacy-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.privacy-highlight h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.privacy-lead {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.privacy-list {
    list-style: none;
    margin-bottom: 32px;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.privacy-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-visual {
    display: flex;
    justify-content: center;
}

.security-icon svg {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download {
    padding: 100px 0;
    background: white;
}

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

.download h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.download p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    max-width: 240px;
}

.store-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-button svg {
    flex-shrink: 0;
}

.store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 12px;
    opacity: 0.8;
}

.store-name {
    font-size: 18px;
    font-weight: 600;
}

.download-info {
    padding: 16px 20px;
    background: #FFF3E0;
    border-left: 4px solid var(--secondary-orange);
    border-radius: 8px;
    max-width: 240px;
}

.download-info p {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
}

.download-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 32px;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-text span {
    font-size: 14px;
    color: var(--text-gray);
}

.phone-download-mockup {
    position: relative;
    width: 320px;
    height: 668px; /* iPhone 16 Pro 6.3" ratio: 2622×1206 ≈ 2.174:1 */
    background: #1a1a1a;
    border-radius: 44px; /* iPhone 16 Pro corner radius */
    padding: 12px;
    box-shadow:
        0 0 0 3px #2a2a2a,
        0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* Dynamic Island already visible in screenshots – no CSS overlay needed */
.phone-download-mockup::before {
    display: none;
}

.phone-download-mockup::after {
    display: none;
}

.phone-download-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px; /* iPhone 16 Pro screen corner radius */
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
    padding: 100px 0;
    background: var(--background-light);
}

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

.faq-item {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo {
    background: white;
    color: var(--primary-blue);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 280px;
        height: 585px; /* 280px × 2.174 ratio for iPhone 16 Pro */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .privacy-content,
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .privacy-list li {
        text-align: left;
    }
    
    .download-buttons {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
