/* ========================================
   DECKSMITH COMING SOON PAGE - STYLES
   Professional landing page with modern design
   ======================================== */

/* ========================================
   FONT IMPORTS
   ======================================== */
@font-face {
    font-family: 'DeckSmithBrand';
    src: url('assets/fonts/JUST Sans Outline ExBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Light Mode (Default) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7ff;
    --bg-tertiary: #f0f4ff;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-tertiary: #777777;
    --border-color: rgba(0, 0, 0, 0.08);
    --card-bg: #f8f9ff;
    --card-border: rgba(102, 126, 234, 0.1);
    --shadow-sm: 0 5px 20px rgba(102, 126, 234, 0.1);
    --shadow-md: 0 10px 40px rgba(102, 126, 234, 0.15);
    --shadow-lg: 0 20px 60px rgba(102, 126, 234, 0.2);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f1624;
    --text-primary: #e4e4e7;
    --text-secondary: #c4c4c7;
    --text-tertiary: #a4a4a7;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #1e2a47;
    --card-border: rgba(102, 126, 234, 0.3);
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    font-size: inherit;
    font-family: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DeckSmithBrand', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   NAVBAR/HEADER
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 46, 0.95);
}

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

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-brand {
    font-family: 'DeckSmithBrand', sans-serif;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

.dark-mode-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark-mode-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.icon-dark {
    display: none;
}

[data-theme="dark"] .icon-light {
    display: none;
}

[data-theme="dark"] .icon-dark {
    display: inline;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(
        135deg,
        #f5f7ff 0%,
        #f0f4ff 50%,
        #ffe6f0 100%
    );
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero {
    background: linear-gradient(
        135deg,
        #16213e 0%,
        #1a1a2e 50%,
        #0f1624 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 2rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.2));
    animation: pulse-scale 3s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Badge */
.badge {
    display: inline-block;
    background: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* ========================================
   PLATFORM SECTION
   ======================================== */
.platform-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

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

.platform-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.platform-header p {
    font-size: 1.1rem;
    color: var(--text-tertiary);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.2);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-logo {
    transform: scale(1.1);
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.platform-card p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

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

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.feature-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #667eea;
    opacity: 0.2;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   SCREENSHOT SECTION
   ======================================== */
.screenshot-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffe6f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

[data-theme="dark"] .screenshot-section {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.screenshot-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.screenshot-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.screenshot-frame {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    position: relative;
}

.screenshot-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.screenshot-image.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

.dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.3);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}



/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 2rem 2rem;
    transition: background 0.3s ease;
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #aaa;
    font-size: 0.95rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #aaa;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .platform-header h2 {
        font-size: 2rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platform-card {
        padding: 2rem;
    }

    .platform-logo {
        width: 70px;
        height: 70px;
    }
    .navbar-content {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .signup-form-cta {
        flex-direction: column;
    }

    .submit-btn-cta {
        width: 100%;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .logo-container {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .features-header h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
