/* Diawin Font Faces - Sans Serif for body text */
@font-face {
    font-family: 'Diawin Sans';
    src: url('DiawinFont-SansSerif-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Diawin Sans';
    src: url('DiawinFont-SansSerif-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Diawin Font Faces - Serif for headings */
@font-face {
    font-family: 'Diawin Serif';
    src: url('DiawinFont-Serif-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

/* Diawin Brand Colors */
:root {
    --primary-color: #060070;
    --primary-hover: #040055;
    --secondary-color: #3D9BE9;
    --text-primary: #1e293b;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-light: #64748b;
    --background-main: #ffffff;
    --background-light: #f8fafc;
}

html, body {
    min-height: 100vh;
    font-family: 'Diawin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background-main) 0%, var(--background-light) 100%);
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo-image {
    height: 2.5rem;
    width: auto;
    max-width: 200px;
    transition: all 0.2s ease;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.hero-section {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

/* Product Showcase */
.product-showcase {
    margin-bottom: 32px;
    text-align: center;
}

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.hero-title {
    font-family: 'Diawin Serif', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
}

.hero-subtitle {
    font-family: 'Diawin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.125rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.4;
}

.hero-description {
    margin-top: 20px;
    margin-bottom: 40px;
}

.hero-description p {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

/* Accent Elements */
.accent-highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.accent-border {
    border-left: 4px solid var(--secondary-color);
    padding-left: 16px;
}

/* Action Buttons */
.action-buttons {
    margin-top: 40px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 200px;
    text-align: center;
}

.btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 0, 112, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 0, 112, 0.25);
}

.info-text {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 20px 0;
    border-top: 1px solid rgba(30, 41, 59, 0.1);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.privacy-link {
    color: var(--text-light);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 12px 0;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .logo-image {
        height: 1.75rem;
        max-width: 160px;
    }
    
    .main-content {
        padding: 16px 0;
    }
    
    .hero-section {
        max-width: 100%;
    }
    
    .product-showcase {
        margin-bottom: 20px;
    }
    
    .product-image {
        max-height: 220px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-description {
        margin-bottom: 24px;
    }
    
    .action-buttons {
        margin-top: 24px;
    }
    
    .button-group {
        gap: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .footer {
        padding: 12px 0;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .logo-image {
        height: 1.5rem;
        max-width: 140px;
    }
    
    .main-content {
        padding: 12px 0;
    }
    
    .product-showcase {
        margin-bottom: 16px;
    }
    
    .product-image {
        max-height: 180px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        margin-bottom: 16px;
    }
    
    .hero-description {
        margin-top: 12px;
        margin-bottom: 20px;
    }
    
    .action-buttons {
        margin-top: 20px;
    }
    
    .button-group {
        gap: 10px;
    }
    
    .btn {
        padding: 11px 20px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .footer {
        padding: 10px 0;
        margin-top: 12px;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        min-height: auto;
    }
    
    .header {
        padding: 6px 0;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .main-content {
        padding: 12px 0;
    }
    
    .product-showcase {
        margin-bottom: 12px;
    }
    
    .product-image {
        max-height: 120px;
    }
    
    .hero-title {
        margin-bottom: 6px;
    }
    
    .hero-subtitle {
        margin-bottom: 8px;
    }
    
    .hero-description {
        margin-top: 8px;
        margin-bottom: 12px;
    }
    
    .action-buttons {
        margin-top: 12px;
    }
    
    .button-group {
        gap: 8px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .footer {
        padding: 6px 0;
        margin-top: 8px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-section {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

/* Additional spacing for tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .button-group {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        min-width: 220px;
    }
}

/* Very short screens - ensure footer visibility */
@media (max-height: 600px) {
    .container {
        min-height: auto;
    }
    
    .main-content {
        flex: none;
    }
}

/* Print styles */
@media print {
    .action-buttons {
        display: none;
    }
} 