/* Variables */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* Account for fixed navbar */
}

.container {
    max-width: 1200px;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Auth Button */
#auth-button .btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, #33C7FF 0%, #00B9FF 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 185, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 185, 255, 0.35);
    background: linear-gradient(135deg, #00B9FF 0%, #0099CC 100%);
    color: white;
}

.btn-outline-primary {
    border: 2px solid #33C7FF;
    color: #00B9FF;
    background: rgba(51, 199, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: rgba(51, 199, 255, 0.15);
    border-color: #00B9FF;
    color: #0099CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(51, 199, 255, 0.2);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.1;
    color: #2d3748;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: 'Domine', serif;
}

.hero-title-line {
    display: block;
    line-height: 1.2;
}

.dynamic-line {
    margin: 0.3rem 0;
    min-height: 1.2em;
}

/* Apply Domine font to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Domine', serif;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-bottom: 4rem;
}

/* Features Section */
.features-section {
    background: white;
}

.features-section .row {
    justify-content: center;
    align-items: center;
}

.feature-image-square {
    width: 100%;
    max-width: 500px;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.feature-image-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-family: 'Domine', serif;
}

.feature-subtitle {
    font-size: 1.125rem;
    color: #718096;
    line-height: 1.6;
}

/* Hero Use Case Cards */
.hero-card-link {
    text-decoration: none;
    color: inherit;
}

.hero-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.hero-use-case-card {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.hero-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-use-case-card:hover .hero-card-image {
    transform: scale(1.05);
}

.hero-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.25rem;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-card-title {
    color: white;
    font-size: 1.35rem; 
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Domine', serif;
}

.hero-card-title i {
    margin-left: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-use-case-card:hover .hero-card-title i {
    opacity: 1;
}

/* Hero Cards Section */
.hero-cards-section {
    margin-top: 1rem !important;
}

.hero-cards-section .col-lg-4 {
    padding: 0 0.75rem;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

@media (min-width: 992px) {
    .hero-cards-section .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 0 0.75rem;
    }
}

.hero-use-case-card {
    height: 250px;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1;
}

/* Feature Text Container */
.feature-text-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Feature Rows */
.features-section .row.align-items-center {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-row {
    margin-bottom: 4rem !important;
    padding-bottom: 4rem !important;
}

.feature-align-right {
    margin-left: auto;
    margin-right: 0;
    padding-right: 2rem;
}

.feature-align-left {
    margin-left: 0;
    margin-right: auto;
    padding-left: 2rem;
}

.features-section .col-lg-8.pe-lg-4 {
    padding-right: 0.75rem !important;
}

.features-section .col-lg-8.ps-lg-4 {
    padding-left: 0.75rem !important;
}

.features-section .col-lg-4.pe-lg-4 {
    padding-right: 0.75rem !important;
}

.features-section .col-lg-4.ps-lg-4 {
    padding-left: 0.75rem !important;
}

.features-section .mb-5:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Simple CTA Section */
.simple-cta-section {
    background: white;
    padding: 3rem 0;
}

/* Footer */
.light-footer {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%) !important;
    color: #2d3748;
}

.light-footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    font-family: var(--font-family);
}

.light-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.light-footer .list-unstyled a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.light-footer .list-unstyled a:hover {
    color: var(--primary-color);
}

.light-footer p {
    color: #4a5568;
}

.light-footer a {
    color: #4a5568;
    text-decoration: none;
}

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

/* Footer Columns */
.footer-columns {
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-title {
        font-size: 2.625rem;
        font-family: 'Domine', serif;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-cards-section {
        margin-top: 3rem !important;
    }
    
    .hero-cards-section .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-use-case-card {
        height: 180px;
        transform: none;
    }
    
    .feature-text-container {
        max-width: 100%;
    }
    
    .feature-row {
        margin-bottom: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .feature-align-right,
    .feature-align-left {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .features-section .col-lg-8.pe-lg-4,
    .features-section .col-lg-8.ps-lg-4 {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    
    .use-case-buttons {
        justify-content: center;
    }

    .feature-image-square {
        max-width: 350px;
        height: 280px;
    }

    .dynamic-line {
        margin: 0.2rem 0;
    }

    #dynamic-word {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 2.25rem;
        font-family: 'Domine', serif;
    }

    .feature-image-square {
        max-width: 300px;
        height: 240px;
    }

    .hero-cards-section .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-card-title {
        font-size: 1.25rem;
    }
    
    .hero-use-case-card {
        transform: none;
    }

    .dynamic-line {
        margin: 0.1rem 0;
    }

    #dynamic-word {
        min-width: 150px;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.shadow-custom {
    box-shadow: var(--box-shadow);
}

.shadow-custom-lg {
    box-shadow: var(--box-shadow-lg);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

/* Pricing Specific Styles */
.price-period {
    font-size: 1.125rem;
    font-weight: 700;
    color: #6b7280;
    margin-left: 0.25rem;
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: url('/static/home/img/background.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.feature-icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.feature-icon-circle i {
    color: #4a5568;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 185, 255, 0.3));
}

/* Dynamic Word Animation */
#dynamic-word {
    color: #33C7FF;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
    min-width: 250px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(51, 199, 255, 0.2);
}

#dynamic-word.fade-out {
    opacity: 0;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    #dynamic-word {
        transition: none;
    }
} 