/* RetailTwin AI - Liquid Glass Design System */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --radius-soft: 1rem;
    --radius-full: 9999px;
    --ease-fluid: cubic-bezier(0.4, 0.0, 0.2, 1);
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(to bottom, #f8fafc 0%, #e0e7ff 50%, #fce7f3 100%);
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Glass Morphism Effect */
.glass-nav, .feature-card, .solution-card, .cta-card, .floating-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-soft);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0;
    animation: slideDown 0.6s var(--ease-fluid);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--ease-fluid);
}

.nav-links a:not(.btn-primary):hover {
    color: #6366f1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1f2937;
    border-radius: var(--radius-full);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-soft);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s var(--ease-fluid);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #1f2937;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s var(--ease-fluid);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: var(--spacing-md);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
}

/* Features Section */
.features {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    padding: var(--spacing-md);
    transition: all 0.3s var(--ease-fluid);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: #6b7280;
    margin-bottom: var(--spacing-sm);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 700;
}

/* Solutions Section */
.solutions {
    padding: var(--spacing-lg) 0;
    background: rgba(255, 255, 255, 0.5);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.solution-card {
    padding: var(--spacing-md);
    transition: all 0.3s var(--ease-fluid);
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.solution-card p {
    color: #6b7280;
}

/* Technology Section */
.technology {
    padding: var(--spacing-lg) 0;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.tech-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: var(--spacing-md);
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tech-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-soft);
}

.tech-item-icon {
    font-size: 2rem;
}

.tech-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.tech-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-diagram {
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.diagram-layer {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-soft);
    backdrop-filter: blur(10px);
}

.diagram-arrow {
    font-size: 2rem;
    color: #6366f1;
}

/* CTA Section */
.cta {
    padding: var(--spacing-lg) 0;
}

.cta-card {
    padding: var(--spacing-lg);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: var(--spacing-md);
}

.cta-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.cta-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-soft);
    background: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: all 0.3s var(--ease-fluid);
}

.cta-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.cta-note {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.05);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: #6b7280;
}

.footer-section h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #6b7280;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s var(--ease-fluid);
}

.footer-section a:hover {
    color: #6366f1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #6b7280;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s var(--ease-fluid);
}

.footer-social a:hover {
    color: #6366f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .section-title {
        font-size: 2rem;
    }
}
