/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-surface: #111111;
    --color-card: rgba(255, 255, 255, 0.03);
    --color-card-border: rgba(255, 255, 255, 0.06);
    --color-text: #fafafa;
    --color-text-muted: #888888;
    --color-accent: #0078d4; /* Azure DevOps blue */
    --color-accent-secondary: #00bcf2;
    --color-accent-glow: rgba(0, 120, 212, 0.3);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Noise texture overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.025;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Gradient orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    animation: float 25s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #5c2d91, #0078d4);
    bottom: 20%;
    left: -200px;
    animation-delay: -8s;
}

.gradient-orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00bcf2, #00b294);
    bottom: -150px;
    right: 10%;
    animation-delay: -16s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -40px) scale(1.05);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }
    75% {
        transform: translate(-40px, -30px) scale(1.03);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 24px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 40px var(--color-accent-glow);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px var(--color-accent-glow);
}

/* Typography */
.product-name {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #0078d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    color: var(--color-accent-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.feature-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Highlights */
.highlights {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.highlight-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.highlight-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
}

.divider-h {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-card-border), transparent);
}

/* CTA */
.cta {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-text,
.cta-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    padding: 1rem 2rem;
    display: inline-block;
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-link:hover {
    color: var(--color-text);
    border-color: var(--color-accent);
    background: rgba(0, 120, 212, 0.1);
}

.cta-link-secondary {
    margin-left: 1rem;
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.cta-link-secondary:hover {
    background: rgba(0, 120, 212, 0.15);
    color: var(--color-text);
}

/* Back Navigation */
.back-nav {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.back-link {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--color-accent);
}

/* Support Section */
.support {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    animation: fadeInUp 1s ease-out 0.75s both;
}

.support h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.support p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.support-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.support-link:hover {
    color: var(--color-text);
    background: var(--color-accent);
    text-decoration: none;
}

/* Footer */
.footer {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.footer p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer .sinaware {
    font-weight: 500;
    color: var(--color-text);
}

.footer .copyright {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .container {
        padding: 3rem 1.5rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .hero {
        margin-bottom: 3rem;
    }
    
    .highlights {
        padding: 1.5rem;
    }
    
    .highlight-item {
        padding: 0.75rem 0;
    }
    
    .gradient-orb-1 {
        width: 400px;
        height: 400px;
    }
    
    .gradient-orb-2 {
        width: 300px;
        height: 300px;
    }
    
    .gradient-orb-3 {
        width: 250px;
        height: 250px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gradient-orb {
        animation: none;
    }
    
    .hero,
    .features,
    .highlights,
    .cta,
    .footer {
        animation: none;
    }
    
    .logo:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text-muted: #aaaaaa;
    }
    
    .noise {
        display: none;
    }
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-accent-secondary);
}

/* Legal Pages */
.legal-page {
    max-width: 800px;
    text-align: left;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page .last-updated {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

.legal-page .back-link {
    display: inline-block;
    color: var(--color-accent-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.legal-page .back-link:hover {
    color: var(--color-accent);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.legal-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--color-accent-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--color-text);
    font-weight: 500;
}

/* Legal page responsive */
@media (max-width: 640px) {
    .legal-page h1 {
        font-size: 1.75rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Pricing Section */
.pricing {
    margin-top: 4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.pricing-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 360px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 120, 212, 0.15);
    border-color: var(--color-accent);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.price {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent-secondary);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.org-input-wrapper {
    margin-bottom: 1.5rem;
    text-align: left;
}

.org-input-wrapper label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.org-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 8px;
    color: var(--color-text);
    transition: border-color 0.2s ease;
}

.org-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.org-input-wrapper input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.checkout-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-bg);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-accent-glow);
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Purchase Info Section */
.purchase-info {
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 1.25rem;
    background: rgba(0, 120, 212, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.2);
    border-radius: 8px;
}

.purchase-note {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.purchase-instructions {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.purchase-instructions strong {
    color: var(--color-accent-secondary);
    text-decoration: none;
}
