/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Based on Logo Color #5F9FA0 */
    --primary-dark: #3d7a7b;
    --primary: #5F9FA0;
    --primary-light: #7db8b9;
    --primary-lighter: #9bd1d2;
    
    /* Secondary Colors - Complementary Warm Tones */
    --secondary: #e8c9a8;
    --secondary-light: #f5e6d3;
    --accent: #fff8f0;
    
    /* Neutral Colors */
    --background: #f8fbfb;
    --surface: #ffffff;
    --text-primary: #2d3e4f;
    --text-secondary: #5a6b7c;
    --text-light: #8b9caa;
    --border: #e0e8e8;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #3d7a7b 0%, #5F9FA0 50%, #7db8b9 100%);
    --gradient-secondary: linear-gradient(135deg, #e8c9a8 0%, #f5e6d3 100%);
    --gradient-hero: linear-gradient(135deg, #f8fbfb 0%, #f0f4f4 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(95, 159, 160, 0.08);
    --shadow-md: 0 4px 16px rgba(95, 159, 160, 0.12);
    --shadow-lg: 0 8px 32px rgba(95, 159, 160, 0.16);
    --shadow-xl: 0 12px 48px rgba(95, 159, 160, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & 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;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 var(--spacing-2xl);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero .logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.hero .logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(95, 159, 160, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-title br {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

.cta-button.secondary:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-elements {
    position: relative;
    width: 400px;
    height: 400px;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    top: 20%;
    left: 20%;
    animation-delay: 1s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

.element-4 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent) 100%);
    top: 30%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
    padding: 0 var(--spacing-md);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ===== About Section ===== */
.about {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.about-card {
    background: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Features Section ===== */
.features {
    background: var(--gradient-hero);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item {
    background: var(--surface);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-lighter);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.feature-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Notify Section ===== */
.notify {
    background: var(--surface);
}

.notify-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.notify-text {
    padding-right: var(--spacing-xl);
}

.benefits-list {
    list-style: none;
    margin-top: var(--spacing-lg);
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefits-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.notify-form {
    background: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--surface);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 122, 140, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    display: none;
}

.message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-2xl);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: var(--spacing-2xl);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .notify-content {
        grid-template-columns: 1fr;
    }

    .notify-text {
        padding-right: 0;
        text-align: center;
    }

    .benefits-list {
        display: inline-block;
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin: 0 auto;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        padding: 0 var(--spacing-md);
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    .hero .logo-img {
        height: 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }

    .about-card,
    .feature-item,
    .notify-form {
        padding: var(--spacing-lg);
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}