/* ========================================
   ITURRI Landing Page - Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #003366;
    --accent-color: #FF6B35;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #E0E0E0;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
}

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

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.mai-avatar {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.mai-avatar:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 32px 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

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

.btn-primary:hover {
    background: #e55a28;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-large {
    padding: 16px 40px;
    font-size: 16px;
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary-large:hover {
    background: #e55a28;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-large {
    padding: 16px 40px;
    font-size: 16px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-accent {
    color: var(--accent-color);
    display: block;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 1;
    }
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: var(--white);
}

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

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */

.solutions {
    background: var(--light-bg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.solution-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), #ff8555);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.solution-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.solution-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 24px;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ========================================
   WHY CHOOSE SECTION
   ======================================== */

.why-choose {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.advantage-item {
    position: relative;
    padding-left: 80px;
}

.advantage-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 56px;
    font-weight: 900;
    color: var(--light-bg);
    line-height: 1;
}

.advantage-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.advantage-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background: var(--light-bg);
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

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

.contact-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: var(--font-family);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition-base);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    background: var(--white);
    padding: 0 8px;
    color: var(--accent-color);
    font-weight: 600;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    font-size: 15px;
    opacity: 0.8;
    transition: var(--transition-base);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

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

.mb-32 {
    margin-bottom: 32px;
}

.mt-48 {
    margin-top: 48px;
}
