/* Riceify Website - Main Styles */

/* Custom Properties */
:root {
    --primary-color: #f97316;
    --primary-hover: #ea580c;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-dark: #1f2937;
    --bg-dark: #000000;
    --bg-gray-800: #1f2937;
    --bg-gray-900: #111827;
    --border-gray: #374151;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Background */
.bg {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    min-height: 100vh;
    position: relative;
}

.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/rcf-bg.png');
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Code Blocks */
.code-block {
    background: var(--bg-gray-900);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 1rem 0;
}

.code-header {
    background: var(--bg-gray-800);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.code-title {
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-white);
}

.code-content code {
    color: #e5e7eb;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-gray-900);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Coming Soon Cards */
.coming-soon-card {
    background: var(--bg-gray-800);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.coming-soon-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.coming-soon-icon {
    color: var(--primary-color);
    opacity: 0.7;
}

.coming-soon-card span {
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Documentation Cards */
.doc-card {
    background: var(--bg-gray-900);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.doc-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.doc-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.doc-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Rice Comparison */
.rice-comparison {
    max-width: 800px;
    margin: 0 auto;
}

.rice-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.rice-image:hover {
    transform: scale(1.02);
}

/* Installation Methods */
.installation-method {
    text-align: left;
    width: -webkit-fill-available;
}

.installation-method h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

/* SVG Dividers */
.svg-divider {
    position: relative;
    z-index: 1;
}

.svg-polygon {
    fill: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rice-image {
        width: 90%;
        height: 18rem;
    }
    
    .feature-card,
    .doc-card {
        padding: 1.5rem;
    }
    
    .code-content {
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .rice-image {
        width: 100%;
        height: 16rem;
    }
    
    .feature-card,
    .doc-card {
        padding: 1rem;
    }
    
    .code-block {
        margin: 0.5rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.animate-slide-up-delay-3 {
    animation: slideUp 0.8s ease-out 0.6s both;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray-900);
}

::-webkit-scrollbar-thumb {
    background: var(--border-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
} 