/* ========================================
   Organized3 - Modern CSS Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0095f7;
    --primary-dark: #0077cc;
    --secondary-color: #6772e5;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-teal: #14b8a6;

    --text-dark: #1a1a2e;
    --text-primary: #374151;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;

    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --bg-dark: #1f2937;
    --bg-darker: #111827;

    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

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

p {
    color: var(--text-secondary);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo img {
    height: 36px;
    width: auto;
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

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

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: white;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.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(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 50%, #e0f2fe 100%);
    overflow: hidden;
}

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

.hero-tagline {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 149, 247, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 149, 247, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 149, 247, 0.5);
}

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

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* ========================================
   Cross Platform Section
   ======================================== */
.cross-platform {
    background: var(--bg-white);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

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

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* Feature Icon Color Variants */
.feature-icon.accent-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.feature-icon.accent-green { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon.accent-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-icon.accent-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon.accent-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.feature-icon.accent-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }

/* ========================================
   Key Features Section
   ======================================== */
.features {
    background: var(--bg-light);
}

.features-grid-large {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    background: var(--bg-white);
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.workflow-step {
    text-align: center;
    padding: 30px 20px;
    max-width: 180px;
}

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

.workflow-step h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.workflow-step p {
    font-size: 14px;
}

.workflow-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    margin-top: 54px;
}

/* ========================================
   Smart Lists Section
   ======================================== */
.smart-lists {
    background: var(--bg-light);
}

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

.list-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.list-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.list-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.list-card h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.list-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   Download CTA Section
   ======================================== */
.download-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-badge {
    display: block;
    transition: var(--transition);
}

.store-badge:hover {
    transform: translateY(-4px);
}

.store-badge img {
    height: 50px;
    width: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

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

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid,
    .features-grid-large,
    .lists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-connector {
        display: none;
    }

    .workflow-steps {
        gap: 10px;
    }

    .workflow-step {
        flex: 1 1 150px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .nav-toggle {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features-grid,
    .features-grid-large,
    .lists-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .store-badges {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .container {
        padding: 0 16px;
    }

    .feature-card,
    .list-card {
        padding: 24px 20px;
    }
}

/* ========================================
   Page Content (Policy Pages)
   ======================================== */
.page-content {
    padding: 140px 0 80px;
    min-height: 70vh;
}

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

.content-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.content-wrapper .last-updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 40px;
}

.content-wrapper h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-wrapper p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-wrapper ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-wrapper li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-wrapper a {
    color: var(--primary-color);
}

.content-wrapper a:hover {
    text-decoration: underline;
}
