/* Tap Tap Track - Marketing Website Styles */

/* CSS Variables */
:root {
    --color-bg-dark: #0a0a0f;
    --color-bg-card: #12121a;
    --color-bg-elevated: #1a1a2e;
    --color-primary: #667eea;
    --color-secondary: #764ba2;
    --color-accent: #60a5fa;
    --color-text: #ffffff;
    --color-text-muted: #a0a0b0;
    --color-text-dim: #6b6b7b;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-success: #22c55e;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(180deg, #1a1a3e 0%, #0a0a0f 100%);
    --gradient-card: linear-gradient(145deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-glow: 0 0 60px rgba(102, 126, 234, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.125rem;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--color-text) !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav-cta:hover {
    opacity: 0.9;
    color: var(--color-text) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    color: var(--color-text);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.125rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(102, 126, 234, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(118, 75, 162, 0.2) 0%, transparent 50%),
        var(--gradient-hero);
    z-index: -1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1rem;
}

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

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-dim);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 48px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

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

.phone-secondary {
    transform: translateY(60px) scale(0.9);
    opacity: 0.7;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-top: 16px;
}

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

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

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-large {
    grid-column: span 2;
}

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

.feature-card h3 {
    margin-bottom: 12px;
}

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

.feature-image {
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-image img {
    width: 100%;
    max-width: 280px;
    display: block;
}

/* Privacy Section */
.privacy-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-elevated) 50%, var(--color-bg-dark) 100%);
}

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

.privacy-text h2 {
    margin-bottom: 20px;
}

.privacy-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.privacy-feature {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.privacy-feature.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.privacy-check {
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.privacy-feature h4 {
    margin-bottom: 4px;
}

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

.privacy-link {
    display: inline-block;
    margin-top: 32px;
    font-weight: 600;
}

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

.privacy-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.shield-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.privacy-stat {
    margin-bottom: 24px;
}

.privacy-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-label {
    color: var(--color-text-muted);
}

.privacy-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.privacy-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-success);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    overflow: hidden;
}

.gallery-scroll {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    width: max-content;
}

.gallery-item {
    flex-shrink: 0;
    width: 260px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-label {
    display: block;
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* Use Cases */
.use-cases {
    padding: 120px 0;
    background: var(--color-bg-elevated);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-case {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.use-case.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.use-case:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-4px);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.use-case h4 {
    margin-bottom: 8px;
}

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

/* Download Section */
.download {
    padding: 120px 0;
}

.download-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.download-note {
    display: block;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--color-text-dim);
}

.download-visual {
    position: relative;
    z-index: 1;
}

.floating-phone {
    width: 220px;
    background: linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-phone img {
    border-radius: 28px;
}

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

/* Footer */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-dim);
    font-size: 0.875rem;
}

/* Privacy Policy Page */
.policy-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

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

.policy-header h1 {
    margin-bottom: 16px;
}

.policy-date {
    color: var(--color-text-muted);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-highlight {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-text h3 {
    color: var(--color-success);
    margin-bottom: 8px;
}

.highlight-text p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.policy-section {
    margin-bottom: 48px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.policy-section p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.policy-section li {
    color: var(--color-text-muted);
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.7;
}

.policy-section li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--color-primary);
}

.policy-box {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 24px 0;
}

.policy-box.highlight {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.policy-box h4 {
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-info {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.policy-summary {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 60px;
}

.policy-summary h3 {
    text-align: center;
    margin-bottom: 24px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.summary-icon {
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-large {
        grid-column: span 2;
    }
    
    .privacy-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 40px;
    }
    
    .download-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .policy-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        width: 200px;
    }
    
    .download-card {
        padding: 40px 24px;
    }
}




