/* ========================================
   PRODUCTFLOW - Modern SaaS Landing Page
   ======================================== */

/* CSS Variables - Light Mode */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --white: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: rgba(0, 0, 0, 0.05);
    --card-bg: #ffffff;
    --input-bg: #f9fafb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --hero-gradient: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #111827;
    --footer-text: #d1d5db;
    --footer-link: #9ca3af;
}

/* Dark Mode */
.dark {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #22d3ee;
    --accent: #fbbf24;
    --white: #ffffff;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    --border-light: rgba(255, 255, 255, 0.05);
    --card-bg: #1e293b;
    --input-bg: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --hero-gradient: linear-gradient(135deg, #1e3a5f 0%, #1e40af 30%, #2563eb 100%);
    --nav-bg: rgba(15, 23, 42, 0.95);
    --footer-bg: #020617;
    --footer-text: #94a3b8;
    --footer-link: #64748b;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-brand h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.nav-brand .logo-dark {
    display: none;
}

.dark .nav-brand .logo-light {
    display: none;
}

.dark .nav-brand .logo-dark {
    display: block;
}

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

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-button {
    padding: 10px 24px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.dark-mode-toggle:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary);
}

.dark-mode-toggle i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover i {
    transform: rotate(15deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--hero-gradient);
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    align-items: center;
    transition: background 0.3s ease;
}

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

/* Trial Badge */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6);
    }
}

.trial-badge i {
    font-size: 16px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.primary-button,
.secondary-button {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.primary-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat p {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.hero-image .hero-img-dark {
    display: none;
}

.dark .hero-image .hero-img-light {
    display: none;
}

.dark .hero-image .hero-img-dark {
    display: block;
}

/* ========================================
   CAROUSEL STYLES
   ======================================== */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.carousel-inner {
    display: flex;
    transition: none;
}

.carousel-item {
    min-width: 100%;
    opacity: 1;
    transition: none;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.dark .carousel-control {
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-primary);
}

.carousel-control:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 16px;
}

.carousel-control.next {
    right: 16px;
}

.carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dark .indicator {
    background: rgba(255, 255, 255, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* ========================================
   LIGHTBOX STYLES
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

.carousel-item img {
    cursor: pointer;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Trial Notice */
.trial-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    margin-top: 16px;
    box-shadow: var(--shadow);
}

.trial-notice i {
    font-size: 16px;
}

/* Free Trial Tag */
.free-trial-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}

/* Contact Trial Banner */
.contact-trial-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.contact-trial-banner i {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-trial-banner strong {
    display: block;
    font-size: 16px;
}

.contact-trial-banner p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

.feature-card {
    padding: 40px 32px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Tech Effects Container */
.tech-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Star burst effect */
.tech-star-burst {
    position: absolute;
    pointer-events: none;
}

.tech-star-burst::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 15px #2563eb, 0 0 30px #2563eb;
}

/* Star particles */
.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 8px #2563eb, 0 0 12px #2563eb;
    opacity: 0;
}

@keyframes particle-shoot {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

.pricing-single {
    max-width: 480px;
    margin: 0 auto;
}

.pricing-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.pricing-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.pricing-badge i {
    color: var(--accent);
    font-size: 10px;
}

.pricing-main h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.pricing-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-highlight {
    margin-bottom: 4px;
}

.price-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.price-big .amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.price-big .period {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.price-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin-top: 2px;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    margin: 4px 0;
}

.pricing-includes h4 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-includes .features-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.pricing-includes .features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--white);
    font-weight: 500;
}

.pricing-includes .features-list i {
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
}

.pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 24px;
    background-color: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pricing-cta i {
    font-size: 14px;
}

.pricing-storage,
.pricing-calc {
    text-align: left;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.pricing-storage h4,
.pricing-calc h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 600;
}

.pricing-storage h4 i,
.pricing-calc h4 i {
    color: var(--accent);
    font-size: 12px;
}

.storage-info,
.calc-info,
.calc-result {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.storage-info strong,
.calc-info strong,
.calc-result strong {
    color: var(--white);
    font-weight: 600;
}

.calc-result {
    font-size: 12px;
    color: var(--accent);
    padding: 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
    margin-bottom: 0;
}

.calc-result strong {
    color: var(--accent);
    font-size: 13px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content i {
    font-size: 32px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.testimonial-content p {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.contact-item span {
    font-size: 16px;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background-color: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--input-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--card-bg);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    font-size: 15px;
    transition: color 0.3s ease;
    color: var(--footer-link);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

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

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-4px);
}

.scroll-to-top.visible {
    display: flex;
}

/* Placeholder */
::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

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

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

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

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

    .pricing-main {
        padding: 18px 20px;
    }

    .pricing-main h3 {
        font-size: 16px;
    }

    .price-big .amount {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .trial-badge {
        font-size: 13px;
        padding: 8px 16px;
    }

    .contact-trial-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .features-grid,
    .testimonials-slider,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-stats h3 {
        font-size: 28px;
    }

    .feature-card,
    .testimonial-card {
        padding: 32px 24px;
    }

    .pricing-main {
        padding: 16px 16px;
    }

    .pricing-main h3 {
        font-size: 16px;
    }

    .free-trial-tag {
        display: block;
        margin: 8px 0 0 0;
    }

    .trial-notice {
        font-size: 13px;
        padding: 8px 16px;
    }

    .price-big .amount {
        font-size: 28px;
    }

    .pricing-storage,
    .pricing-calc {
        padding: 8px;
    }

    .pricing-cta {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

/* ========================================
   LEGAL PAGES STYLES
   ======================================== */
.legal-page {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 900px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.legal-header .last-updated {
    display: inline-block;
    background-color: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
}

.legal-content {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.legal-content ul li {
    list-style-type: disc;
}

.legal-content ol li {
    list-style-type: decimal;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.legal-content th,
.legal-content td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.legal-content th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.legal-content td {
    color: var(--text-secondary);
}

.contact-box {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.contact-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-box p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-box .company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 16px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }

    .contact-box {
        padding: 24px;
    }
}

/* ========================================
   NEW SECTIONS STYLES
   ======================================== */

/* Top Bar */
.top-bar {
    background-color: var(--text-primary);
    color: var(--bg-secondary);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span,
.top-bar-right a {
    margin-right: 20px;
}

.top-bar-right a {
    color: var(--bg-secondary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.top-bar-right a:hover {
    opacity: 1;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link::after {
    content: '';
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}

/* Partners Bar */
.partners-bar {
    padding: 40px 0;
    background-color: var(--bg-secondary);
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-4px);
}

/* Problem/Solution Section */
.problem-solution {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.ps-item {
    text-align: center;
    padding: 24px;
}

.ps-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.ps-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ps-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.ps-arrow {
    font-size: 24px;
    color: var(--primary);
}

.ps-solution h3 {
    color: var(--success);
}

/* Feature List in Cards */
.feature-list {
    list-style: none;
    margin-top: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.feature-list li i {
    color: var(--success);
    font-size: 12px;
}

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

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

.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

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

.use-case-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.use-case-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.use-case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.use-case-card ul {
    list-style: none;
}

.use-case-card li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.use-case-card li::before {
    content: '•';
    color: var(--primary);
    margin-right: 8px;
}

/* Dashboard Preview */
.dashboard-preview {
    padding: 80px 0;
}

.dashboard-showcase {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.dashboard-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.dash-tab {
    padding: 16px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.dash-tab:hover {
    color: var(--primary);
}

.dash-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.dashboard-content {
    padding: 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-pane {
    display: none;
    width: 100%;
}

.dash-pane.active {
    display: block;
}

.dash-img-dark {
    display: none;
}

.dark .dash-img-light {
    display: none;
}

.dark .dash-img-dark {
    display: block;
}

/* Integrations */
.integrations {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

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

.integration-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.integration-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.integration-logo {
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--primary);
}

.integration-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.integration-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Comparison Table */
.pricing-comparison {
    margin-top: 60px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    color: var(--text-secondary);
    font-size: 14px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Testimonials with Results */
.testimonial-card {
    position: relative;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.rating {
    margin-top: 8px;
}

.rating i {
    color: var(--warning);
    font-size: 14px;
}

.testimonial-results {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.testimonial-results span {
    font-size: 12px;
    padding: 4px 10px;
    background: #ecfdf5;
    color: var(--success);
    border-radius: 20px;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h3 i {
    color: var(--primary);
    font-size: 14px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-company {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-company p {
    font-size: 14px;
    color: var(--footer-link);
    margin-bottom: 4px;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .ps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ps-arrow {
        transform: rotate(90deg);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 8px 0;
    }

    .partners-logos {
        gap: 24px;
    }

    .ps-grid {
        text-align: center;
    }

    .ps-arrow {
        transform: rotate(90deg);
    }

    .use-cases-grid,
    .integrations-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}