/* CSS Variables */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-login, .btn-pricing, .btn-cta {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

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

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

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

.btn-hero {
    background: var(--gradient-success);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-login {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-login:hover {
    background: var(--gray-50);
}

.btn-pricing {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px;
    font-weight: 600;
}

.btn-pricing:hover {
    background: var(--primary-hover);
}

.btn-pricing.disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
}

.btn-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 40px;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

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

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

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

.badge {
    background: var(--white);
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

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

.app-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.app-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.key-card {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.key-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.key-card h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--gray-800);
}

.totp-code {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.timer-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.timer-fill {
    height: 100%;
    background: var(--gradient-success);
    width: 80%;
    transition: width 1s linear;
    animation: timer 30s linear infinite;
}

@keyframes timer {
    from { width: 100%; }
    to { width: 0%; }
}

.shared-badge {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

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

.feature-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Use Cases Section */
.use-cases {
    background: var(--gray-50);
}

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

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

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

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

.use-case h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

/* Getting Started Section */
.getting-started {
    background: var(--white);
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.step ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.step li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-success);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-badge.coming-soon {
    background: var(--gradient-secondary);
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.price {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-card p {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

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

.testimonial {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    font-size: 1.125rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
}

.author-title {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Mobile Apps Section */
.mobile-apps {
    background: var(--gray-50);
}

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

.mobile-apps-text h3 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.mobile-features {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mobile-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.mobile-feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-size: 1rem;
}

.mobile-feature-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.mobile-timeline {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    margin-top: 2rem;
}

.mobile-timeline h4 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.mobile-timeline p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.mobile-notify-btn {
    display: inline-block;
    margin-top: 0.5rem;
}

/* Mobile Mockups */
.mobile-mockups {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-end;
}

.mobile-mockup {
    position: relative;
    animation: float 8s ease-in-out infinite;
}

.mobile-mockup.android {
    animation-delay: -4s;
}

.mobile-mockup.ios .mobile-screen {
    width: 180px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.mobile-mockup.android .mobile-screen {
    width: 170px;
    height: 340px;
    background: #2a2a2a;
    border-radius: 20px;
    padding: 6px;
    box-shadow: var(--shadow-xl);
}

.mobile-screen {
    position: relative;
}

.mobile-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: inherit;
    margin: 2px;
    padding: 15px;
    overflow: hidden;
}

.mobile-header {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    height: 30px;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.mobile-header.android-header {
    background: #f5f5f5;
}

.mobile-content {
    position: absolute;
    top: 45px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    padding: 15px;
    z-index: 2;
}

.mobile-key-card {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.mobile-key-card.android-card {
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
}

.mobile-key-card h5 {
    margin: 0 0 8px 0;
    font-size: 0.8rem;
    color: var(--gray-800);
}

.mobile-totp {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.mobile-timer {
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.mobile-timer-fill {
    height: 100%;
    background: var(--gradient-success);
    width: 80%;
    transition: width 1s linear;
    animation: mobile-timer 30s linear infinite;
}

.mobile-timer-fill.android-timer {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

@keyframes mobile-timer {
    from { width: 100%; }
    to { width: 0%; }
}

.mobile-label {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 40px 0 20px;
}

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

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--gray-400);
    margin: 0;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .mobile-apps-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mobile-apps-visual {
        order: -1;
    }
    
    .mobile-mockups {
        gap: 1rem;
    }
    
    .mobile-mockup.ios .mobile-screen {
        width: 150px;
        height: 300px;
    }
    
    .mobile-mockup.android .mobile-screen {
        width: 140px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .use-cases-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .mobile-features {
        gap: 1rem;
    }
    
    .mobile-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .mobile-mockup.ios .mobile-screen {
        width: 130px;
        height: 260px;
    }
    
    .mobile-mockup.android .mobile-screen {
        width: 120px;
        height: 240px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero, .btn-cta {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .feature-card,
    .use-case,
    .pricing-card,
    .testimonial {
        padding: 1.5rem;
    }
    
    .totp-code {
        font-size: 1.5rem;
    }
} 