
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fefefe;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-brand {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #7a9b57;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 140px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    text-align: center;
    overflow: hidden;
}

.hero-title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
    min-height: 200px;
    padding: 40px 0;
}

.hero-branch-behind {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%) rotate(-8deg);
    width: 280px;
    height: auto;
    opacity: 1;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.05em;
    line-height: 1.05;
    position: relative;
    z-index: 2;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: #555;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Section titles */
.section-title {
    font-size: 2.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -0.03em;
}

/* Apps Section */
.apps {
    padding: 140px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.apps-illustration {
    position: absolute;
    top: 15%;
    right: 8%;
    z-index: 10;
    pointer-events: none;
}

.apps-kookaburra {
    width: 200px;
    height: auto;
    transform: rotate(15deg);
    display: block;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.app-card {
    background: #fcfcfc;
    border-radius: 20px;
    padding: 56px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7a9b57, #a4c273);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.06);
}

.app-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: white;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.app-tagline {
    font-size: 1.25rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.4;
}

.app-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.app-link:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Philosophy Section */
.philosophy {
    padding: 140px 0;
    background: linear-gradient(135deg, #f8faf6 0%, #f2f6ef 100%);
    position: relative;
}

.philosophy-hero {
    margin-bottom: 60px;
    text-align: center;
}

.philosophy-image {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.philosophy-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 1.375rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 140px 0;
    background: #ffffff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-email {
    display: inline-block;
    font-size: 1.625rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    padding: 20px 40px;
    border: 2px solid #1a1a1a;
    border-radius: 16px;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.contact-email:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-text {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav {
        padding: 0 20px;
        height: 72px;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 160px 0 120px;
    }
    
    .hero-branch-behind {
        width: 240px;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 60px;
    }
    
    .apps, .philosophy, .contact {
        padding: 100px 0;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .app-card {
        padding: 40px;
    }
    
    .app-name {
        font-size: 1.625rem;
    }
    
    .philosophy-text {
        font-size: 1.25rem;
    }
    
    .contact-email {
        font-size: 1.375rem;
        padding: 16px 32px;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.125rem;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-branch-behind {
        width: 180px;
    }
    
    .philosophy-image {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .app-card {
        padding: 32px;
    }
    
    .contact-email {
        font-size: 1.25rem;
        padding: 14px 24px;
    }
}
