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

:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --accent-color: #2563eb;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand a:hover {
    color: var(--secondary-color);
}

.nav-logo {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand a:hover .nav-logo {
    transform: scale(1.05);
}

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

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

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--secondary-color);
}

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

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 70vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--text-color);
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-badge {
    background: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

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

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

.hero-phone-image {
    display: block;
    width: auto;
    max-width: 360px;
    max-height: 480px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.hero-phone-image:hover {
    transform: scale(1.02);
}

.value-proposition {
    background: var(--bg-light);
    padding: 4rem 0;
}

.value-proposition h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.value-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.value-card {
    background: #fff;
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
}

.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.value-card p {
    margin: 0;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
}

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

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 18px;
    max-width: 80%;
}

.message.own {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-color);
    scroll-margin-top: 80px;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

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

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

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

.feature-card p {
    color: var(--text-light);
}

/* Umfragen Section */
.umfragen {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.umfragen-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.umfragen h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.umfragen-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.umfrage-example {
    margin-bottom: 2rem;
}

.umfrage-preview {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.umfrage-preview:hover {
    transform: translateY(-2px);
}

.umfrage-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.umfrage-icon {
    font-size: 1.2rem;
}

.umfrage-preview h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.umfrage-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
}

.option-text {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.option-bar {
    position: relative;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.option-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.option-percent {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 0.9rem;
}

.umfrage-footer {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.umfrage-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.umfrage-feature {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.umfrage-feature strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

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

.umfragen-use-cases h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.use-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.use-case {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.use-case h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.use-case p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.umfragen-image {
    text-align: center;
}

.umfrage-class-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.umfrage-class-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .umfragen-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .umfragen-image {
        order: 2;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .umfrage-preview {
        padding: 1rem;
    }
}

/* Klassenfahrt Section */
.klassenfahrt {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

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

.klassenfahrt-image {
    text-align: center;
}

.travel-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.travel-image:hover {
    transform: scale(1.02);
}

.klassenfahrt h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.klassenfahrt-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.travel-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.travel-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.travel-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.travel-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.travel-feature p {
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .klassenfahrt-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .klassenfahrt h2 {
        font-size: 2rem;
    }
    
    .travel-feature {
        padding: 1rem;
    }
}

/* Integration Section */
.integration {
    padding: 4rem 0;
    background: var(--bg-light);
    scroll-margin-top: 80px;
}

.integration h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.integration-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.integration-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.integration-text li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.integration-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.integration-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}

.integration-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    background: #f0f9ff;
    padding: 2rem;
}

.integration-image:hover {
    transform: scale(1.02);
}

/* Notfall Section */
.notfall {
    padding: 4rem 0;
    background: var(--bg-color);
}

.notfall h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.push-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.push-icon {
    font-size: 1.2rem;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.notfall h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.notfall-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.notfall-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.notfall-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notfall-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.notfall-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.time-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.notfall-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

.stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.notfall-image {
    text-align: center;
}

.snow-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.snow-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .notfall-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .notfall h3 {
        font-size: 1.5rem;
    }
    
    .notfall-stats {
        gap: 2rem;
    }
    
    .notfall-image {
        order: -1;
    }
}

/* Download Section */
.download {
    padding: 4rem 0;
    background: var(--bg-color);
    text-align: center;
    scroll-margin-top: 80px;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.download-individual,
.download-school {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 420px;
    max-width: 420px;
}

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

.download-individual h3,
.download-school h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    height: 1.5rem;
    line-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-individual .individual-benefits,
.download-school .school-benefits {
    margin: 1.5rem 0 2.5rem 0;
    height: 180px;
}

.download-individual .benefit-item,
.download-school .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    height: 48px;
}

.app-links {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-links a {
    display: inline-flex;
    align-items: center;
}

.app-links .apple-store-badge,
.app-links .google-play-badge {
    height: 56px;
    width: auto;
}

.app-links .store-hint {
    font-size: 0.95rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
}

.app-links .store-hint img {
    height: 56px;
    width: auto;
}

.download-individual .benefit-icon,
.download-school .benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-individual .benefit-item span:last-child,
.download-school .benefit-item span:last-child {
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-individual p,
.download-school p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.qr-codes {
    margin: 1.5rem 0;
}

.device-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.school-features {
    text-align: left;
    margin: 1.5rem 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.feature-check {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.school-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-outline-green {
    background: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.download-btn img {
    height: 60px;
    transition: transform 0.3s;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-light);
}

/* Privacy Section */
.privacy {
    padding: 4rem 0;
    background: var(--bg-light);
}

.privacy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.privacy-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

.privacy-card:hover {
    transform: translateY(-4px);
    background: #f0f9ff;
    box-shadow: var(--shadow-lg);
}

.privacy-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* iOS Safari Padding Fix */
    .header {
        padding-top: env(safe-area-inset-top, 0);
        padding-top: constant(safe-area-inset-top, 0);
    }
    
    .nav {
        padding: 1rem;
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.75rem;
        text-align: center;
        border-radius: 8px;
        transition: background 0.3s;
    }
    
    .nav-links a:hover {
        background: var(--bg-light);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1.5rem 2.5rem;
        min-height: auto;
        gap: 2rem;
        padding-top: calc(6rem + env(safe-area-inset-top, 0));
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .hero-phone-image {
        max-width: 300px;
        max-height: 440px;
        margin-top: 0;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .integration-image {
        max-width: 100%;
    }
    
    .download-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .download-individual,
    .download-school {
        padding: 1.5rem;
    }
    
    .school-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .school-buttons a {
        width: 200px;
        text-align: center;
    }
    
    .qr-codes {
        gap: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-phone-image {
        max-width: 260px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}
